I am new to appian and not sure if following scenario can be implemented.
I have a record with 1 action.On a new interface i need a readonly grid with one column containing link to display the record action.Following is the code snippet,
a!gridColumn( label:"", value:a!recordActionField( actions:{ a!recordActionItem( action:'recordType!NB MyRecord.actions.createRequest', identifier:fv!row.customerId ) }, openActionsIn: "DIALOG", style: "LINKS", display: "LABEL_AND_ICON", align:"END" ) )
Any guidance would be appreciated
Thanks
Discussion posts and replies are publicly visible
Is your record type 'updated'? https://docs.appian.com/suite/help/20.1/Record_Action_Component.html
If a record action does not appear, it may be because of record type security, action visibility, or having the correct record identifier for related actions
Code snippet looks fine. If you're having a problem seeing anything it might be for the reasons Danny Verb mention - after all, the whole point is to inherit the visibility rules of your Record Actions, so some will dijsplay, others will not.
Could you please describe what is the issue with the code snippet you shared?
The column for which code snippet applies is displayed like this
I have created a record and security is 1 group having admin rights..and currently i am just using this group for all objects for admin access and i have added myself to it.
Did you set up the related action in the Record type, and set the visibility rules?
For sanity test you could simply set visibility to true() for as many actions as it takes to make it work. Then reconfigure the rules to work only at specific times.
Try to add the identifier in the record action field
use identifier: fv!identifier