I am using modern records/Sync records to create related actions. I have around 20+ related actions i need to define for an Interface. I have to pass the most common parameter for all 20 of them.
Example: I need to pass Case information into each related action, i am using a!queryRecordType to pass this info.
I am passing this 20 times for each 20 RA as mentioned, i am not happy with using it multiple times. I can create an expression rule for it alone and pass it; still it being called 20 times.
Is there a better approach to achieve it in single call and passing along to the remaining RAs????
case:a!queryRecordType( recordType: 'recordType!{092e25cb-d859-498e-810c-ede1a27152dd}FAS Manage Case', fields: 'recordType!{092e25cb-d859-498e-810c-ede1a27152dd}FAS Manage Case.fields.{c59a2f56-2d82-405b-8012-f24f371ae9ab}id', filters: a!queryFilter( field: 'recordType!{092e25cb-d859-498e-810c-ede1a27152dd}FAS Manage Case.fields.{c59a2f56-2d82-405b-8012-f24f371ae9ab}id', operator: "=", value: rv!identifier ), pagingInfo: a!pagingInfo(1,1) )
Thanks in advance
Discussion posts and replies are publicly visible
Hi, You can create an expression rule which will query your record and add filters to it simply pass the filters values as rule inputs and call the rule using rule!ruleName()
Check this as well for more info https://docs.appian.com/suite/help/22.3/Expression_Rules.html
I can do this, but it still end up being called 20 times which i am not satisfied with. Atleast that is the least option if nothing comes up.
Thank you Ujjwal