I need to call a record action from an interface using (a!recordActionItem) with additional parameters. The goal is to pass these additional parameters into the associated process. How can I achieve this? Below is the code I currently have:
a!recordActionField( actions:a!recordActionItem( action: 'recordType!myRecord.actions.myAction', identifier: 1 (i need send more parameters not only the record type PK) ), style :"LINKS" )
Discussion posts and replies are publicly visible
AFAIK a!recordActionItem() component displays a list of pre-defined record actions associated with a specific record type.It doesn't support passing additional parameters beyond the record identifier.You have to create custom action or related action to achieve this.
I want to send additional parameters associated with a different record type
Yes, you can handle this in your Record Related action configuration where you have the provision to add the data used for parameters that are being used in your process model.
If the values are same for every record item then you can define it in context just like chaitanya suggested, if you want to pass different values then you need to use startprocesslink or startprocess
To clarify, the parameters only exist in memory; they are not stored in the database, in the context section. I understand that I can only add rv!identifier and rv!record submitted from the interface. How can I proceed in this scenario?