-
Recently active
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(
my code is correct? let me know if any changes required... my requirement is - if cr_app_la_all_processs_model process model is running then don't show that add projects link if not listed process model then show the add project link can anyone let me know if am wrong
I am trying to find a sail expression that will return the current day's timestamp at the first second of the day. For example: now() returns 11/15/2021 4:39 PM EST Looking for something along the lines of: myFunc(now()) returns 11/15/2021 12:00 AM EST I tried now()-hour(now())/24-minute(now())/(24*60)-second(now())/(24*60*60) but it returns 11/14/2021 7:00 PM EST(Date and Time) Any help will be appreciated,
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?
Hi Community, we are using currently Appian 21.3 on premise. The system language is German. The translation went down hill during the last versions from funny and incomplete to really "cant ignore it any more and makes my daily life difficult". It is just insane and awful. Incomplete translations - error messages still only translated partly and the result is a mixture of german and english, inconsistent translations - different translations for the same words within the same window just so completely wrong translations, that I was confused once or twice for some seconds how to proceed. - like translating the verb "load" not in the sense of "to load" and more like the noun "a truck load" Do you guys have any idea how to place that as topic at appian? Support case(s)? Kind regards,Richard
Can you help me on how I can restrict the visibility of my page if I put this in but the other role I have still sees it? not ( isusermemberofallgroups( user: loggedInUser(), groups: a!groupsByName("RDCR Ejecutivo") ))
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 ) } ) } )
I have always developed security using two group types, Position Groups, in which users who hold that position are added directly (ex: Case Managers), and Position Groups, where position groups are added to control their access within the application (ex: Account Creation Case Reviewers). Can someone summarize the pros and cons of this method of security for a very complex application with many groups, but very few users for each group? What would be the downside of adding users directly to role groups?
I removed a member group from a group in dev, and deployed that change to QA. However, that change is not reflected in the QA environment. Do I really need to control which groups are members of other groups in each environment separately? I have many many groups in my application, and keeping them all aligned across environments seems like a management nightmare.
I have dynamic editable grid , i use MNI to save the rows, however it saves all rows with the first row value.
what is the Max limit of creating rule inputs in an expression or in a Interface? is there anylimit
How to select complete row from cdt and display selected rows can anyone help with this
I am getting like 2000-02-12Z I need 02-12-2000
is it possible display check box as marked when we pass values from test interface
I have question. for example I have rule input ri!applimitcdt and want to display selected rows. selected rows values are in ri!selected_id. how can i display only these selected values
Hi We have an application in the cloud, and the requirement is to track their last login date and display in an interface in Appian. I found where the log file is, appiancloud.com/suite/logs/login-audit.csv. But I can't simply set up a connected system/integration/web api in Designer as it requires a strange authentication process that can't be captured in that setup. Is there another, more native way of accessing the logs in Appian Designer? Thank you, Saeed
I have added validation group in a datefield and added the same on a button. But the validation is triggered instantly on change of dates. My requirement is to validate the date field which is added in a grid layout on click of a button.
Hi, Can anyone suggest why we see the below issue? We are seeing this error only for one specific user and it is intermittent. This is happening when one of the user is trying to click on a related action in records.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.