-
Recently active
Is there a way to get the list of fields on a record using an expression? See example below on potential usage. a!forEach( items: 'recordType!{SYSTEM_RECORD_TYPE_USER}User'.fields, expression: fv!item ) If this is not currently supported it would be a great addition that would open up many interesting use cases.
Hi i found this error after i created expression based filter in records and i gave security permissions for Administrators group : administrator , and All users : Viewer but not able to access the record list link.
Where/ How do I view the record Identifier? What is the identifier? Attempting to setup a a!syncRecord and unsure the value to put in for the identifier.
Hi I want to add two user filters in record the data to those two filters is two columns data from DB when i tried was getting error like below And the data have duplicate values but need unique values only kindly suggest for this also a!recordFilterList( name:rule!ATRFA_translateLabel(field:"wbs"), options:a!forEach( items:cons!ATRFA_ENTITY_SETTLE_REQUEST, expression:a!recordFilterListOption( id:fv!item.wbs, name:fv!item.wbs&" ["&fv!item.wbs&"]", filter:a!queryFilter( operator:"=", field:"wbs", value:fv!item.wbs ) ) ) ) Error: The Requested Record Type Is Not Available The WBS user filter expression for record type ATRFA_Settle_Request failed to evaluate. Details: [Expression evaluation error at function a!forEach [line 3]: Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!recordFilterListOption [line 7]: Invalid index: Cannot index property 'wbs' of type Text into type
The way I understand it is that the idea of Record Sync is to replace the functionality of database views by creating relationships between tables which work like joins in views. That being said, a big part of database views is joining transactional tables which store ref IDs with ref tables to get the display values. Would it be considered an anti-pattern to create a record type for a ref table and join that to the transactional record to display a ref id's display value, or is that under the intended functionality of Record Sync
Hi, There is a stored procedure that updates the database and soon after we trying to sync records in a subprocess.Sync of all records and related records based on identifier is done.It has been observed that certain processes are being paused while others are completed fine. This is random behavior and no error on process model. Please let me know if any solution regarding this. Thanks, Bhavika
Currently building out a Usage Metrics dashboard which uses a plugin to read the Records Usage log. In the "Filters" field returned from said log, it records searches which are typed into picker fields but NOT searches typed into the search box on the grid. For example, when I'm searching a gridField populated by a!recordData sourcing from a synced Record Type, using the OOTB gridField search box, nothing is recorded in the Records Usage log. Nor does it record any application of user filters. When I am using a pickerFieldRecords sourcing from the same synced Record Type, only then are my search or filter values recorded in the log. Effectively, nothing is recorded in Filters when applied to the Record Type-backed grid; this seems like an error -- that only searches/filters applied via picker field would be saved. Everything I read in Appian documentation led me to believe that the above data points would be saved under Action = "Reco
Hi, my problem is that I can export correctly the entity and download as Excel file but when I open the file only appear the data of father CDT but not the rest of the nested CDT. This is the code of my grid: a!localVariables( local!autoridad:null, /*local!selectedAudiencia: ri!audiencia,*/ local!startIndex: a!refreshVariable( value: 1, refreshOnVarChange: {ri!selection,ri!autoridad, ri!motivo, ri!empleo, ri!ejercito, ri!situacion, ri!audiencia} ), local!pageSize: 10, local!sort: { a!sortInfo( field: "id", ascending: false() ) }, local!pagingInfo: a!pagingInfo( startIndex: local!startIndex, batchSize: local!pageSize, sort: local!sort ), local!selection: ri!selection, local!data: a!refreshVariable( value: rule!AU_ER_getAudienciasByFilter( autoridad: ri!autoridad, motivo: ri!motivo, empleo: ri!empleo, ejercito: ri!ejercito, situacion: ri!situacion, nombre: ri!nombre, pagingInfo:
Hi All, I am facing an error when opening a summary view of a record. I am attaching a screenshot please help me out. Thanks in advanced.
I need some help to create an expression rule to check if my given time is within the range. For example, my process model will start running today at 6PM then should stop running at 5AM the next day. Now I need to create a validation where it returns true/false to check if the execution time is still within the range. Hope anyone could help me. Thank you.
I need the ability to sort an array of a Record Type similar to how for an array of dictionaries or CDTs you can use a!dataSubset() with the correct paging info. I tried that with an array of record type and with the correct paging info using the record syntax. It did not error out when called like todatasubset(). It just returned exactly what I passed in. Requerying the the database using a!queryRecordType() is not an option. Until a form is submitted, I have to continue manipulating what's in local variables. Because of the sheer size of the input fields and the quantities of fields, I can not use either a!gridField() or a!gridLayout(). I am looping through using a!forEach() in a card layout. Removing and re-inserting back into the array is what I am doing for certain user sort functionality. But, it's more efficient to then resort for all the remainder sub and sub-sub elements in the array. I prefer not having to cast
Is there upper limit on the number of related records fetched with dot operator on the parent record using record relationship? We see only10 records regardless of the total number of children records with one-to-many relationship.
I have a Class record type and a Student Record type with a relationship between them one-to-many.when I try to get a Class with all the students (every student contains classId) I get only 10 of them but I have much more.how can I fix it? a!queryRecordType( recordType: 'Class', fields: { 'Class.relationships.Student' }, filters: a!queryLogicalExpression( operator: "AND", filters: { a!queryFilter( field: 'Class.Id', operator: "=", value: ri!id ) }, ignoreFiltersWithEmptyValues: true ), pagingInfo: a!pagingInfo( startIndex: 1, batchSize: 100 ) ).data[1]
I have created a Record Type which is bound to a Connected System and an integration which fetches data from a REST endpoint (web service) with data sync enabled. I was able to create a record list to view the fetched records in a table. I am trying to add a custom record list action which adds an item to this record type and eventually update and delete actions as well. As per my understanding we have to create sync expressions in order for these actions to work. I am new to the platform and I am not finding enough resources to help me understand how to perform CRUD operations on a service backed record type. Need help in pointing me to the right tutorials/links which can shed some light on this. Thanks.
Hi All, One of our old application was storing date time as TEXT format. Some of the values in DB for column called 'datetime TEXT" column are 5/15/2018 2:57 PM GMT-04:00 5/15/2018 2:57 PM GMT-05:00 3/12/2018 5:25 PM EDT 2/6/2018 1:48 PM EST Recently we are trying to add new column to store this value. Just say "dateTime" column with datetime type. On doing so we will be storing in datetime format for all new request after this update. But for older request the value will be in TEXT format as mentioned above. Can anyone suggest best way to convert and populate datetime for older request into the new column which i have created. dateTime(TEXT) dateTime 5/15/2018 2:57 PM GMT-04:00 ? old 5/15/2018 2:57 PM GMT-04:00 ? old 5/15/2018 2:57 PM GMT-04:00 ? old 10/18/2017 14:02 new 10/18/2017 14:02 new 10/18/2017 14:02 new
Hello, I'm using function a!recordData to return data from one of my records and I need to apply multiple filtering on the dataset: data: a!recordData( recordType: 'recordType!{a24eedc6-9d03-4ecc-affc-9d0a19c7cc0d}QUA Incident', filters: { a!queryFilter( field: 'recordType!{a24eedc6-9d03-4ecc-affc-9d0a19c7cc0d}QUA Incident.fields.{a1a9fdf7-1d9b-48eb-a147-2a233271d74b}adGroup', operator: "=", value: local!adGroup ), a!queryFilter( field: 'recordType!{a24eedc6-9d03-4ecc-affc-9d0a19c7cc0d}QUA Incident.fields.{3729b606-5b1b-4fb8-b16b-c9e929833ece}assignedTo', operator: "", value: loggedInUser() ) } ) When I use both filters, data is not appearing at all, If I remove the second condition I can see some results that are aligned with the first filter definition. However, If I use a!queryEntity function to retrieve the same data for the same entity I get 2 results ( the expected result). a!queryLogicalExpression( operator: "AND",
Hi, I am trying to use a!writeRecord function in an interface button save into block. Below is my code. Id is a Primary Key and is set as AUTO_INCREMENT in the database table. When I set the id as 0, it doesn't seem to accept the identifier and hence fails. What should I do in order to write a new entry into the table using this function? PS : I am able to update the record and the corresponding row in the DB with an existing identifier.
Appian documentation at - https://docs.appian.com/suite/help/22.4/records-data-sync.html#smart-services-that-automatically-sync-data mentions following Data sync will automatically sync any data changed by select smart services. I have the following database record type with the sync enabled. I am writing new record to DB using write to DSE smart-service. The record gets created into DB table, however the record list does not get refreshed. I have to do full-sync manually to retrieve the newly added record. Am I missing something?
Hi All, If you are going to create a New Record type and select 'I want to start from scratch' then there is only the option to proceed with the Maria Database, is this correct and your experience too, or do we miss anything?
hello everyone, I created a form action that allows me to insert records into a record list I created. I have modified some fields in the insert form so that they are automatically filled with automatically calculated values; I noticed that the moment I submit , the inserted record has the said fields empty, would you know how this can happen? I made sure that the data types entered are equal to the type declared in each field of the record list, so I am sure I did not accidentally enter a text type inside an integer :) . For more info I attach the error, and an example code of a modified field : ERROR: Problem: An error occurred in executing an Activity Class. Details: Each item within the input "Records" must be a record data type. Received: LBOWI - RegistroFirme. Recommended Action: Examine the activity class to correct the error and then resume. Priority of this problem: High Priority CODE: a!localVariables( local!value : now(),
So I need to make a list of groups and what users are in those groups in Excel. There are a lot of users and groups so I'm trying not to have to do it manually. I can't just make the email addresses with the concatenate formula because I don't have any first/last names to go off of. I'm using groups in Appian and I just want to know how to quickly get these emails into Excel. There's at least 60+ groups I have to add into Excel. Thanks for any suggestions
Hi all, I'm creating user filters for a variety of fields in a record-backed read-only grid. How do I make it so duplicates don't show up in the user-filter drop down list? For example, if you want to filter by status, there are two statuses available for all the records: Forecasted and Posted. How do I get it to just display Posted and Forecasted once, and not for as many times as there are records? I've tried union() on the 'name' parameter of the a!recordFilterListOption() function but that didn't work. Thanks for any suggestions!
Hi, Please let me know the solution for this, with proper justification. You have data from two unrelated tables. Which Appian objects can easily relate data from these two tables? a)custom data type b)Expression rules c)Record Types d)process models
Hi All, We need to integrate with another application using their Sybase DB. I just wanted to know whether we can have sybase DB as a secondary DS in Appian .
Hi All,I've experienced an issue with the data store. After an upgrade to 22.4 we face the below error. The data store "XXX" [id=0000] was saved but cannot be published: The data source schema does not match the type mappings: More than one table found in namespace (, ) : Just to explain the background we're using synonyms for many db objects (because the target objects are in another schema that is not default for the Appian FID). I've seen a comment from an Appian employee under below article that 'support for Oracle is coming in 22.4.'https://community.appian.com/discussions/f/data/10323/unable-to-find-table-or-view-for-oracle-dbDid anyone else have this problem? Any tips? Thanks in advance!
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.