Hi all,
I'm currently looking into using Appian records for the first time, and had a question (I've tried looking through the forums and documentation). When you configure a record list action to call a process model, is it possible to provide multiple parameters to the process model from the interface where the record action is being called? For example, I have a grid that's displaying record data. I'm trying to configure a record action, which calls a process model, which requires multiple process parameters to be passed in to it. When looking at recordActions, I see it takes in a list of a!recordActionItem(), but these only seem to consist of an action and an identifier. I know there's the option to provide static values to the process via the context field of the related actions in the record type, but if I have a local variable (for example) in my interface, can I pass it to the process model being called in the record action?
I hope my question is clear, thanks for any help you can give me!
Discussion posts and replies are publicly visible
Record list actions do not take any parameters as they are meant to be free of any context.
To populate your data with default values, check this: https://docs.appian.com/suite/help/22.3/recipe-set-the-default-value-of-an-input-on-a-start-form.html
Alright, thanks Stefan - that was the impression I got from the documentation but I just thought I'd check. I guess then the only way to call a process model in the way I'm looking to would be to use something like a!startProcess then, is that correct?
If you want the user to see a UI, then startProcessLink would be the way.
Thanks for your help Stefan!
Do Appian use Record List Actions for the object designer view (screenshot below) with the buttons at the top?
This is essentially what we're looking to do, where we can pass in a list of selected ID's to the action (and potentially any other parameters if possible).
Record list actions are context free. For your use case, you would use card layouts and a startProcessLink to initiate processes passing any kind of parameters.
But then the form/interface can only be shown in a new tab, am I correct? It is not possible to show it as a popup?
startProcessLink supports both SAME_TAB and NEW_TAB but does not support popups.