Skip to main content
Inspiring
Nov 3, 2022 3:20 PM UTC
Solved

Is it possible to pass process parameters through a record list action called from an interface?

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!

    stefanhelzle0001
    Brainy
    Nov 3, 2022 3:33 PM UTC

    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

    7 replies

    stefanhelzle0001
    Brainy
    Nov 3, 2022 3:33 PM UTC

    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

    johng0005Author
    Inspiring
    Nov 3, 2022 3:49 PM UTC

    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?

    stefanhelzle0001
    Brainy
    Nov 3, 2022 5:14 PM UTC

    If you want the user to see a UI, then startProcessLink would be the way.