We have a requirement where we display/hide the related actions for a particular record based on the approval or rejection of tasks. We are observing that the even though the record grid data is getting refreshed when we click on the refresh button, but the related actions are not getting refreshed. Please find a sample snippet of the code:-
a!gridField( labelPosition: "ABOVE", data: a!recordData( recordType: recordType!SampleRecord, filters: rule!SampleFilterRule() ), columns: { a!gridColumn(), a!gridColumn( value: a!recordActionField( actions: { a!recordActionItem( action: recordType!SampleRecord.actions.SampleAction, identifier: fv!row[SampleMetric.identifier] ) } ) ) }, validations: {}, spacing: "DENSE", borderStyle: "LIGHT", shadeAlternateRows: false, rowHeader: 1, refreshOnVarChange: ri!refreshVariable, refreshAfter: "RECORD_ACTION", showSearchBox: true, showRefreshButton: true(), showExportButton: false,)
What can I do to resolve this?
Discussion posts and replies are publicly visible
Did you checked the sync options under record type configurations? is it enabled ?
If sync is enabled additional configurations need to be provided like following.
Learn more about record data sync at - https://docs.appian.com/suite/help/22.4/records-data-sync.html
Hi Abhay, thanks for the reply! we are not using synced records as we are using a view to populate this record as well as there are some limitations to the data model which doesn't work in favour of data synced records.
Another issue could be missed activity chaining in the process used to update the data.