-
Recently active
Hi! I want to display in a text field of an interface a value of another record. The fact is that, if I introduce it manually (ri!record1....), the field name appears correctly, but can´t be used in my process model (error). If I enter all manually, it works. What can be happening? The fields with arrows are introduced manually and work okay. The others dont even though they appear
Hi, I have a paragraph field. I need to hardcode a value, with the below code, the user can change the value. When I used the a!richtextdisplayfield, I was getting an error. Can someone pls guide here. a!paragraphField( label: "Rejection Comment",value: "REJECTION " & local!comment, saveInto: local!comment,)
Hello, I have a requirement where I have to save the user state of the interface/page into DB and load it back when user comes back to that interface/page. For example, if the interface has tabs, then I want to save the active tab the user is looking at into DB and restart the interface with that tab selected when user comes back. This could be extended to the filters user has chosen, etc. This requirement came from a scenario where I have a dashboard with a table with startProcess links in each row, when user clicks on once row the startProcess opens up a form in the same tab. Once the user completes the work and comes back to dashboard, I want to maintain the state of the UI as it was when he/she triggered the startProcess. I could create required writeToDataStoreEntity and get page state queries. I found that these have to be used in every saveInto of the element whose state I want to store. This is cumbersome and bloats the expression in the interface. Another s
We are looking for chat window to record/type it and save for the particular case(on summary and other related action screens). Example: As like chatbot screen, but just to type the detailed description and click save it. Its more about log save window. Is there any functionality or interface that supports in Appian?
Hi! I was creating a PO interface and I want two of the fields to appear automatically: 1) Field 1: NomProv (supplier name) - In this case, I have a record type in which a "NomProv" value (and also, the NIF number, an extra field) is assigned to each username ("usuario"). It is an static record, and I want it to make relations between the fields, and obtain the "NomProv" for each username ("usuario") To obtain the nomProv for each user logged in, I created the following rule expression: In this case, I´m logged in as carlos.paz.pelaez@pwc.com, so it returns the value "Proveedor 2" as a test output (works fine for me) But the fact is that I want to pass this test output ("Proveedor 2") to a field in my interface so that the user cannot change it. But I dont know how to pass the rule expression output to the text field! Also, I tried to pass the value as a local variable, but it is not allowed: 2) Field 2: NIF -
I am trying to show HTML data in rich text editor but the html we are receiving from api has some hidden tags with visibility: hidden. I know that hidden items still take up space in the layout but the content is hidden. Rich text editor is not hiding those elements or tags. The data and elements inside those hidden tags are still visible in editor. Any possible way to resolve this? Also, how to make rich text editor open hyperlinks in another tab rather than in same editor window?
Hi, I would like to know how I can append data inside multidimensional/record or record relationship array ? Please check the example bellow append( local!sections, 'type!{urn:com:appian:types:SN}SN_DATA'(id: null) ),
Hi! I´m trying to make a simple record filter of a dropdown list, which contains a list of text. To make the dropdown, I point to a constant which contains a text array with the name of the suppliers: But the fact is that, when I try to make a simple filter, it doesn´t work. If I put a text value, nothing appears. If I try with an expression ("Proveedor 1") I have the following error: I think it´s because of the list, because the filters work properly in individual text fields. What can I do to fix it?
I am implementing a gridRowLayout. Inside the gridRowLayout I am implementing a fileUpload field. So that I can add a new row dynamically and for each row I can upload 1 document. But the demand here is ... I cant upload same files again and again (i.e. I cant upload same files in different rows) . But I am not quite sure how to do the validation for it. Can anyone help me with this ? This validation I have added for fileName. But as you see I could upload same files. I need validation to say that File Already Uploaded. Is there a way to do this validation ?
Hi, worday function is used when weekends are need to be excluded to calculate workdays. We have requirement to calculate including weekend. Below is our expression we need help to calculate finaldate when include weekend is true. here expectedholidays is list of holidays. a!localVariables( local!expectedDays: if(ri!days > 0, ri!days, 0), local!exceptedHolidays: if(isnull(ri!holidays), {}, ri!holidays), local!startDate: today() - 1, local!initialEndDate: local!startDate + local!expectedDays, local!FinalEndDate: a!forEach( items: enumerate(local!expectedDays)+2, expression: if( contains(local!exceptedHolidays,local!FinalEndDate), local!initialEndDate+1, local!initialEndDate ) ), local!exceptedDeadline: if( ri!days > 0, if( ri!excludeWeekends, workday( today() - 1, local!expectedDays, local!exceptedHolidays ), local!FinalEndDate ), cons!CORE_MAX_DATE ), local!exceptedDeadline
I have the requirement to find the difference between two record values of a record type like we do in case of cdts using cdtdifference(). I have the previous value of record type and then new value, I need to populate Audit table using these difference values. Any function like cdtdifference() or any workaround to do this?
Hi! I wanted to create a dropdown for each id generated in one of my records. How can I reference the values into the choice labels and choice values? I thought about pointing to a constant of the record type column "id", but I´m not sure how to generate it Thanks a lot!
Hi, There is a form in our project that is running very slow for any kind of postback that is occurring. Even if we are just showing 25 records on one page and then moving to the next page then also it is taking a lot of time to move to the next set of records. Also, we are fetching the records from the SQL server and not from the Appian db. And, there is no complex code written that would make the performance slow. Are there any suggestions why this is happening?
Hi, In the interface I use the rule input as my record A1. A field in this interface, I need to populate value from the other record B1.In other to use the relationship in the interface or expression rule, how to define the relationship. I tried giving the relationship in "relatedRecordData" in a!queryrecordtype. But, I am getting the below error: Expression evaluation error at function a!queryRecordType [line 26]: Could not cast from Record Relationship to RelatedRecordData. Details: CastInvalidCould not cast from Record Relationship to RelatedRecordData. Details: CastInvalid Can someone pls help here,
Hello People,My requirement is to select grid values using shift key, [Eg: like we in gmail], Is there any way to implement it?Thanks in advance,Achuth
Hi! I was trying to create a button in an user interface. This button should change de value of the field "recepción" (boolean) to "true", and save it into the record type ("CPF_Maestro_Pedidos). With my configuration, I can pass the "true" value to the rule input (record) associated with the record type, but I´m doubting about which is the best way to save (overwrite) the value into the record. Also, I don´t know if I should create an action associated with the button or not. Additionally, the interface is a record view interface. Options I thought: 1) Use an expression inside the button code (like WriteRecords) to overwrite directly from here --> ¿how would be the structure? 2) Make a process model and use this interface as the start form and use write records component. The problem is that when I try to do that, an error appears (rank ---> data inputs). But the variable "recepcionado = true&qu
I want my label to be thick and bold
Hi All,I've a question relate to array.I've a array like {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18}Want to print in row and column for mat like this: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Currently we have 18 items. It can be 25 items, 100 items, 200 items and so on...I print all items in rich text in column layout.
"
Hi! I have created an app in which the user enters some purchase order fields, and one of them is a PDF file, saving each file that is uploaded in a constant folder of documents. When I end the user task, the document is saved correctly in the folder. But the fact is that I want that the exact file which the user uploads (related with a Purchase Order ID), to be shown in the summary view for each Purchase Order ID. By now I can upload a the same static PDF for all the summary views, pointing to a constant. But I would want to associate the PDF with its order and show the correct one for each PO. How can I do that? Thank you so much for your time
Hi! I´m trying to reference a related record action (update of fields, which has another interface and works properly) in another interface. I´m using the "record action field" component in the interface menu, but some errors appeared: First of all, I tried to emulate the same code that I had in my related record action, but it doesnt recognize the rv!identifier and the following error appears ("could not find variable rv!identifier") That´s why I skipped that part and tried to put only the rule, being my code the following one: In this case, the related record action appears correctly in the interface. But the following error appears when I click in the button ("An error occurred while applying the context for the CPF Maestro Pedidos related action [identifier=235]. Details: The record data does not exist, has been deleted, or you do not have sufficient privileges to access it.") On the other hand
Hi. I have a dropdown list. It fails when I select one of the values. Here is the code: a!localVariables( local!formAnswer: { function: "", subFunction: "" }, local!dynameiceValue: { functionList: rule!JRA_QRY_getBusinessOwnerFunctionList_AbbVie(), subFunction: rule!JRA_QRY_getbusinessOwnerSubFunctionList_AbbVie( businessOwnerFunction: local!formAnswer["function"] ), }, { a!dropdownField( label: "function", value: local!formAnswer["function"], placeholder: "select", choiceLabels: local!dynameiceValue["functionList"], choiceValues: local!dynameiceValue["functionList"], saveInto: a!save(local!formAnswer["function"], tostring(save!value)) ) } ) I get the options by query rule and put it into a variable. It looks like good. But it will throw the error when I select the value. This is the error message: Interface Definition: Expression evaluation error at function a!dropdownField [line 23]: A dropdown comp
I have a doubt in the parameter "Disabled". I have a form with some fields. For one of the field (Customer) I can select values via 2 options ( one from the dropdown and other is the text field) . These values are stored in dropdownCustomer and textCustomer field. I want to disabled the button if some fields are blank in my form. My doubt here is, for the customer field, there will be only one value present either the dropdown or the text field. If I check a!isnullorempty(dropdownCustomer), it maybe null but the other one textCustomer might hold the value. so, I need to check if any one of the field (dropdownCustomer or textCustomer) has a value, then I don't want to disbale it. Can someone please help here. disabled: or( a!isnullorempty(field1), a!isnullorempty(field2), a!isnullorempty(dropdownCustomer) )
We have created a document upload UI similiar like Image right as user wanted it like that.It has folder>subfolders or option to add one> document are uploaded. I have used for each to show hierarchy of folder then subfolders and file upload.issue is When i want to upload document to a particular subfolder it is populated in others subfolder file upload as value field is same for all.So I want to upload different douments in different subfolders(as we do in our PC) and should be able to save them.I have tried a!map but it does not support append.
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.