-
Recently active
Hi, Could you tell me how a filtered RecordType grid (placed inside an interface) can be refreshed please ? My RecordType data are retrieved from the a!recordData() function, and is filtered on the field "deleted" (all rows are visible if delete = "false"). I have a button that calls an Expression Rule to update the underlying table to set the "deleted" field of the selected row to "true". (I use the WriteToDataStoreEntity Smartservice). After the table is updated in database, I have click to click on the "refresh" icon of the RecordType to see that all is working fine : the lines are hidded. How would you refresh the RecordType, without a manual user action please ? (I intentionnaly do not use any process model for this example)
Hi All, I am aware that this error occurs when the time taken to fetch the data exceeds the threshold. We get these errors randomly for multiple expressions which use query entity on different tables/views but not frequently. I am afraid it may become worse when data present in DB increases in terms of rows. Can you please suggest some of the best options to mitigate this risk or avoid these errors, at Appian end, DB end or Server end? Thanks.
Hi team, We are getting below error while trying to open record summary view via record link. Can anyone tell me where the issue could be? Record is expression backed record. We tried testing individual rules and they gave proper output. Expression evaluation error at function a!recordBodyWrapper parameter 2 [line 55]: Invalid symbol found (comma) (APNX-1-4205-003) Let me know if additional information is needed. Thanks, Akshar
Hello community members, can you help me with the syntax for a array of CDT? i tried: 'type!{urn:com:appian:types}EBLE_Test'( {item: 1, checked: true, item: 2, checked: false } )
load( local!carriers: rule!CAS_getPayeesAndCarriers( getOnlyCarriers: true ), a!gridField_19r1( totalCount: ri!processData.totalCount, columns: { a!gridTextColumn( label: "Last Updated", field: "c12", data: a!forEach( items: index(ri!processData.data, "c12", {}), expression: todate(fv!item) ) ), a!gridTextColumn( label: "Assignee", field: "c13", data: a!forEach( items: index(ri!processData.data, "c13", {}), expression: if( isusernametaken(tostring(index(fv!item, 2, null))), rule!CAS_formatUserName(userName: index(fv!item, 2, null)), null ) ) ), a!gridTextColumn( label: "Carrier Policy ID", field: "c6", data: index(ri!processData.data, "c6", {}), links: a!forEach( items: index(ri!processData.data, "c5", {}), expression: a!processTaskLink( task: fv!item ) ) )
Hi, I've created a simple RecordType based on a MySQL table, and when editing the grid list (tab List), I have added a new column that does not exist is the underlying table (ex : "total" that is the sum of fields "nb1" and "nb2"). When using this colum in a Grid of an interface, why does the "Recordtype!Vehicles.Fields.total" is not available ? Does the Fields object contain only the fields that exist in the underlying table ?
Hi Team, I have a grid Layout which is having couple of fields. But one search field "Classification" is not working as expected. Please find my below code. Code: a!gridLayout( label: "Legal Entity Overview", totalCount: local!entitySize, headercells: { a!gridLayoutHeaderCell( label: "Name" ), a!gridLayoutHeaderCell( label: "Tax Identifier" ), a!gridLayoutHeaderCell( label: "LOB" ), a!gridLayoutHeaderCell( label: "Classification" ), a!gridLayoutHeaderCell( label: "Region" ), a!gridLayoutHeaderCell( label: "Country" ), a!gridLayoutHeaderCell( label: "Reporting Type" ), a!gridLayoutHeaderCell( label: "Client Institution ID" ), a!gridLayoutHeaderCell( label: "Milestone" ), a!gridLayoutHeaderCell( label: "Deadline" ), a!gridLayoutHeaderCell( label: "Completion Date" ), a!gridLayoutHeaderCell( label: "Reportable Status" ) }, columnconfigs: { a!gridLayo
Version : Appian 20.3. I have a process with 2 Event Receivers : "External_Escalaion" & "Escalation". I have a User Input node which escalates, sending a message to destination called "External_Escalation" (in the same process). I would expect to receive the message only on the "External_Escalation" node, however it triggers the other as well. Any clues ?
Hi all, I need to filter the data based on dropdown which have a value {"P","NP"} from Date field , if dropdown value is P then i need to filter all not null dates value in grid and if it NP then all null value in date field . is there any way to achieve the requirement, a!queryFilter(field: "dates",operator: "=",value: ri!dates)
Is it possible to develop plug-ins on an Appian cloud instance or an a local developer instance is a must have ?
Hi, I would like to remove an item from a list, depending on a field (here, the condition is : when the "checked" field is false, I need to remove the item) : /* Set to null the unchecked Vehicles items */ a!forEach( items: ri!vehicles, expression: if (rule!SHARED_IsFalse(fv!item.checked), a!save(fv!item, null), a!save(fv!item, fv!item) ) ), /* Remove the null items */ a!save(ri!vehicles, reject(fn!isnull, ri!vehicles)), 1/ How would you code it in a single instruction please ? (with a foreach and a remove ?)2/ From a SaveInto of an interface the code above works fine, but now I'm trying to execute it from an Expression Rule. So, how would you code this instruction "a!save(fv!item, null)", as a!save cannot be used in ER ? I've tried to use the function updateDictionary(), but I do not see how to set an item to null (I can just set some fields to a null value). I'm sure the answer of the first question can make the
a!richTextDisplayField( value: a!richTextItem( text: { a!richTextIcon(icon: "camera"), " " & ri!translationBundle["uploadpictures"] }, link: a!startProcessLink( processModel: cons!LDA_PM_UPLOAD_PICUTURE_MYASSIGNMENT_SCREEN, processParameters: { buttonAction: null, dispatcherAction: null, driverUsername: null, notifyDispatcher: null, tmsLoadId: null, tripAssignmentDetailsId: index( ri!tripAssignmentDetails, "tripAssignmentDetailsId", {} ), uploadPictureMyassignment: null } ) ) ) Hi c
hi, I have a local variable "array of object" , I need to update value "seenBy" for one field in all array objects, a!flatten(a!forEach( items: local!msg, expression: { a!save(fv!item.id,fv!item.id), a!save(fv!item.isDeleted,fv!item.isDeleted), a!save(fv!item.createdBy,fv!item.createdBy), a!save(fv!item.messageText,fv!item.messageText), a!save(fv!item.convId,fv!item.convId), a!save(fv!item.createdOn,fv!item.createdOn), a!save(fv!item.seenby,concat(fv!item.seenBy, concat(tostring(loggedInUser()) , ",") ), ), } ) ), a!startProcess( processModel: cons!COM_Write_AllMsg_SeenBy, processParameters: { allmsg: ri!allmsg, } ), but the issue is :- "An error occurred while trying to write to the data store [chatDS]. No values have been written. Details: Could no
Hi, I am trying to use an xpath as shwon below in fitnesse for appian script and it doesnt work, any help is greatly appreciated |click on button|xpath=//button[text()='Modeling']||toggle box |xpath=//*[div[text()='SomeState']
Hi All , I have a Date and Time field in my CDT (type DATE in the Oracle database). This field has a date and a time. I create a query entity rule with the filter: a!queryFilter(field: "recertificationDate",operator: "=",value: ri!recertificationDate,applyWhen: not(rule!APN_isBlank(ri!recertificationDate))) In the database, I have records with the date and time of 4/15/2019 4:05 PM but when I test my rule with ri!recertificationDate = 4/15/2019 4:05 PM, the rule is returning NO records. Any ideas why this is happening?
Hi All, We have just upgraded to Appian 20.4. I am not sure if the issue due to this but facing very strange scenario when using todate() function in an expression. todate("08/01/2021")<=todate(null) --> this expression ideally should return false, but instead returning true. It was working as expected earlier. Please advise. Thanks and Regards, Diksha
What is the best way people have found to convert 6 Jan 2021 21:19:42 GMT text into date and time?
We are using out of the box task notification emails and one of the influential users doesn't like the GMT origin time zone on the notification email. I've looked in regional settings per user, looked at the emailheader.html and emailfooter.html system objects, and in admin console, but cannot find a way to localize time per user on these notifications. I'm concerned the only alternative is to eat the system task message and pass along a custom email to the group. Is this true, or is there something I have overlooked? Thanks for any insight!
Objective: copy data from Process model properties and store the old data copy into same table(Multiple of updates done using interface) before new data update. I have "process start form" tab with - Update_Ticket_Interface This interface to update ticket on selecting table row Interface shows details to update ticket. Here, want to copy available data into a variable before form submit/update. How to copy data from Process Model properties variable tab? Here, i am able to update only one record, not sure how to use process model to get copy of old data to store into same DB. i have process model as, Inputtask-startNode --> Write To Data Store Node -->End node In below screenshot, i There are two variables, PTS_TicketTest(For record Update-working) & PrevData(ForRecordOldDataCopy-GettingNull) PrevData tried to store in another Write To Data Store but getting null data, as PrevData didn't get data. Please let me know if any clarity needed.
Hello,I'm using Export Data Entity to CSV smart service. This gives me CSV output and the CSV has a column named TransId, this column/field is a varchar in Appian.It may contain text and/or sometimes just integer numbers more than 11 digits.The problem here is when the value of this column is more than 11 digits then CSV by default shows value in a scientific format like 1.12233E+13 until the cell of the CSV is formatted to Integer.Is there a way to get the value correctly by default?(This smart service does not have input to take template unlike 'Export CDT to Excel' smart service).
Hi, I have an application developed in angular and java and have around 6 work flows, i want to implement workflows in appian without distrubing angular ui and java, is this possible in appian , if possible how can u achieve.
I have a customer requirement to allow the users of the application to individually control which columns of information they see on the screen for a given interface. The application will have a default column sequence and that's what every user gets initially. Then each user will have the ability to: Reorder the columns Hide columns from the display Add columns back into the grid that were previously hidden Reset the grid back to the default columns in sequence Anyone have some example code to try and deal with this situation? I'm open to any approaches.
Is it possible to pass the username in a link to site so that the user does not have to key it in, and just provide the password ?
I have a read-only grid in interface A, and one of the columns populates more than one value. The functionality also includes an expander and each value is linked to its respective record. Below is the code for that particular column. I would like to replicate this functionality in an existing interface B. My concern is that the interface B I am working in has a Paging Grid / Text Column and Interface A has a read-only grid/grid column. Interface A column code: a!gridColumn( label: "Transit Agency", sortField: "transit_agency_name", value: a!localVariables( local!rowTransitAgencies: index( local!vanpoolTransitAgencies, wherecontains( fv!row.vanpool_id, index( local!vanpoolTransitAgencies, "vanpool_id", {} ) ), {} ), local!rowTrasitAgencyCount: count(local!rowTransitAgencies), local!showPartial: if(local!rowTrasitAgencyCount > 1, true, false), if( local!showPartial, a!richTextDisplayField( value: { a!richTextItem( text: left(fv!row.transit_agency_n
Is there any function to show pop-up in interface ?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.