-
Recently active
a!dropdownField( label: "Type Of Loan", labelPosition: "ABOVE", choiceLabels: cons!LM_LoanTypes, choiceValues: cons!LM_LoanTypes, value: ri!LM_CustomerDetails.loanid.typeOfLoan, saveInto: ri!LM_CustomerDetails.loanid.typeOfLoan, searchDisplay: "AUTO", required: true a!floatingPointField( label: "Interest Rate", labelPosition: "ABOVE", value: if( ri!LM_CustomerDetails.loanid.typeOfLoan,rule!LM_LoanRates(LoanType: ri!LM_CustomerDetails.loanid.typeOfLoan )," " ), saveInto: ri!LM_CustomerDetails.loanid.interestRate, refreshAfter: "UNFOCUS", readOnly: TRUE, i want to display interest rate through the type of loan with decision i have created.but it is not displaying
Hi All , I am showing a pattern like bar chart in an interface i.e Total , Approved , Rejected etc . Now what I am doing is showing total count in the respective field but now as per requirement I want to show the count based on user filter . For example Approved total request is 10 , now user filter the approved , and the data displayed in the grid(1-5) has only 3 Approved . Then I have to change the 3 instead of 10. How to achieve this . Thanks in Advance
Hi, I have a CDT and it is linked to a form and fileds are linked to CDT columns. Now, when user submit the form, data should save in the main table as well as another Audit table. Any idea how can I achieve this requirement.
What is the best UI/UX Design for updating existing value in a particular field or creating new value for that field against unique ID in DB from an Interface?
Hi, We have a use case where an employee from a warehouse needs to scan multiple barcodes. We were asked if this is possible without pressing, for example, a "Submit" button for each and every barcode scanned, since it would delay the process. The main goal is to allow the user to pick multiple barcodes, save them into a variable for example, and whenever the task is finished, it would trigger a process. Do you know if this is possible to do without forcing the user to press hundreds of times a submit button, for each barcode scanned? Or it's only possible via JavaScript embedded on the webpage? Kind regards
Hi, I have an interface which I am using for Employee details capture. I am using the same form for the creation of a new record in the database and for the updation. I have created a RecordType and created "Update Employee" related action. Now when I click on the "Update Employee" button I am getting an error like "Error Evaluating UI Expression Expression evaluation error [evaluation ID = 335d6:04711] in rule 'at_captureemployee' at function a!multipleDropdownField [line 68]: A multiple dropdown component [label="Languages Known"] has an invalid value for "value". All selected values must be present in the choiceValues array, but value was [languageid:25,languagenumber:1]; [languageid:26,languagenumber:4]; [languageid:27,languagenumber:2] and choiceValues was 1; 4; 2; 5; 3." Can someone help on this.
Hi All, I am trying to design a Comment Page , where I am displaying an Image just before comment textbox , but in that image field I want to display user profile if is available other Initials for the same. Please help me out in this condition. Thanks In Advance
How to export local data to Excel?
Good Day Everyone! I'm having a problem on how to use the foreign key on my CDT so that I use another Record type as Rule Input, but when I used the Interface in a process model, I'm having a problem on the variables because I used a record type as a rule input. also I can't use the can't call the rule input in the context under Related action on my record type because of the same problem that I used a record Type as a Rule Input. what should I do? Thank you!!
Hi, I am working on Appian version 20.2 I have created a Record Type with a Data Store and Entity. The moment when I open the Records and selected my Record Type, I am getting a list with only few random fields and got a link for the first filed. I would like to get the data fields which I want instead of random fields. Can someone advise on this. Thanks.
Hi Appian experts, Here, I am trying to get the cText based on the passed typeId. How I can achieve this. a!localVariables( local!selectedtype: "IM", local!myDictionary: { { cText: "Internal Memo", typeId: "IM" }, { cText: "External Memo", typeId: "EM" }, { cText: "Correspondence", typeId: "CP" } }, local!myDictionary.cText[local!selectedtype])
My requirement is to display current month as default option in dropdown and user can change month value from dropdown if they want to change and for each month there should be integer value saved in Rule Input "selectedMonth", so I have applied dropdownFieldByIndex() function for this. If user select blank then it will revert it to current month but I am getting below issue: SAIL Code: local!currMonth: datetext(today(),"M"), local!monthName: {"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"}, a!dropdownFieldByIndex( label: "", labelPosition: "ABOVE", placeholder: "--Select Month--", choiceLabels:union(local!monthName,local!monthName), /*choiceValues: tointeger(union(local!monthValue,local!monthValue)),*/ value: if(rule!APN_isNotBlank(ri!selectedMonth),ri!selectedMonth,local!currMonth), sa
How can I change the language or translate the language of the interfaces of an application to other languages both its interfaces and the site itself?
How I can upload book as pdf file and preview it in Appian
how to get most recent document uploaded in grid.I have created grid with 3 columns ,in which how to get most recent document which is uploaded by user.
Hi , I have a editable grid having 17 columns and horizontal scroll is appearing in the page due to large number of columns. I am trying to use weight of the a!gridLayoutColumnConfig(width: "DISTRIBUTE", weight: 8) for width distribution like making one column wide and other less wide but non is showing any effect on the width distribution of columns, all are appearing fixed width on the screen. Is it like a!gridLayoutColumnConfig stops working if number of columns are huge ? Please help with pointers. Regards Bihitak
Hi, I've a form which has about 10+ fields which are calculated based on various input fields (including editable grid input fields). I need to figure out a way to have the calculation logic in one place so it can be managed without a lot of code duplication. I want to avoid copy pasting the a!save for each calculated field into saveInto() of multiple input fields.
I have this expression rule : a!localVariables( /* Loop checks against passed in value of type to pull values from specific requirementActivity match */ a!forEach( items: ri!requirement.requirementActivities, expression: if(contains(fv!item.type, ri!activityType), 'type!{urn:com:appian:types:UW}UW-Requirement-Activity'( key: fv!item.key, type: fv!item.type, creatorId: fv!item.creatorId, creatorFullName: fv!item.creatorFullName, createdDate: fv!item.createdDate, commentText: fv!item.commentText ), {}), ), ), And I'm using it in my interface : a!localVariables( requirementsResponse: rule!UW_GetRequirementsByCase_RDS("SomeKey"), local!requirements: { a!forEach( items: local!requirementsResponse, expression: a!map( type: fv!item.name, status:fv!item.status, orderDate: fv!item.createdTimestamp, orderRe
I am using a!fileUploadField in my interface and its not showing any error when I am editing in expression Mode but when i change it to designer mode its showing error.Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!fileUploadField [line 78]: a!fileUploadField( label: "Upload An Image :", labelPosition: "ABOVE", target: cons!CS_DOCUMENT_FOLDER, fileNames: fv!files.name: local!registratioNo, fileDescriptions: "This is the uploaded file for the vehicle : " & local!registratioNo, maxSelections: 1, value: local!file, saveInto: { local!file, a!save(ri!Vehicle.UploadedFile, save!value) }, required: if(
Hello, I'm using the following to return all user rows, but I'm only getting one back: local!usersAll : cast('type!{urn:com:appian:types}AL_Users' , a!queryEntity( entity:cons!AL_USERS, query:a!query( pagingInfo:a!pagingInfo( startIndex:1, batchSize:-1, sort:a!sortInfo( field:"name", ascending:true ) ) ) ).data) I'm using this inside a local variable in a interface. Is there a limitation to this approach? Do I need to do it somehow else? In a Web API, this works and returns all, but not here, is it something with usage inside an interface?
How can we extract user uploaded pdf document using multiple part file.
Hello All, Few users are facing issues currently on different interfaces and they come up with identifiers to find the resolution. When I checked the system log, I found that design_error.csv file is not generated since nov-9. Does anybody knows why its not getting generated? or is there a way to generate it?
Hi, When I try to use multipleDropdownField to display multiple language selection and if I try to use "employeelanguages" rule input to save. When I uncomment the below commented code, I am getting an error Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!multipleDropdownField [line 19]: A multiple dropdown component [label="Languages Known"] has an invalid value for "value". All selected values must be present in the choiceValues array, but value was 4 and choiceValues was 1; 4; 2; 5; 3.
Hi Appian team, I have changed the display name for CDT and there for modified the field name in interface as well. I have done the below code change, but the regular expression added for validation is not working as expected. Can anyone help me out to solve this issue? below is the code snippet used. a!textField( label: "Purchase order (PO)/Sales order (SO)/STO/Requisition", labelPosition: "ABOVE", value: trim( index( ri!PF_Request, "Order_Del_Number", null ) ), saveInto: { a!save( ri!PF_Request.Order_Del_Number, /*if(ri!PF_Request.GBEID=18,*/ /*left(*/ /*trim(*/ /*save!value*/ /*),10),*/ /*trim(*/ /*save!value*/ /*))*/ trim(save!value) ) }, required: true, validations:if(ri!PF_Request.GBEID = 18, if(regexmatch("^([0-9]{1,10})$",ri!PF_Request.Order_Del_Number),null,"The number provided should not contain any special character and can have upto 10 digits"), null ) ) Also please see the below discuss link to understand what are the ch
I have a CDT "AT_employeelanguages" like below-attached screen I am pulling the below table data using an expression and referring to the same using an expression rule AT_GetLanguages() When I use the below code, nothing is saved into my CDT "employeelanguages". Can someone guide me to solve this issue? Thanks in advance. a!localVariables( local!languages: rule!AT_GetLanguages(), local!selectedLanguages, a!formLayout( label: "Test" & local!selectedLanguages, contents: {a!checkboxField( label: "Languages Known", choiceLabels: index(local!languages, "name", null), choiceValues: index(local!languages, "languagenumber", null), value: local!selectedLanguages, saveInto: { local!selectedLanguages, a!save( ri!employeelanguages, local!selectedLanguages ) } ) } )
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.