Skip to main content
September 13, 2021
Question

looping over list type process variable and pass it as an input to a sub-process

  • September 13, 2021
  • 2 replies
  • 0 views

Hi,

As part of my task, I want to loop over a process variable of type list of CDT and pass it as an input to a sub-process in a sequential manner for further execution (inside the sub- process).

I am new to Appian and still exploring. Hence, bit of detailed reply/ link to any reference document will be helpful.

Thanks.

2 replies

mikes0011
Brainy
September 13, 2021

You probably want to learn about "MNI", or configuring a node to execute multiple instances based on a pre-set condition (such as, one instance for every member of an array).  This can be done for subprocesses and "start process" nodes alike, and can handle the functionality you describe (at least as far as the amount of detail you've provided).

The Expression Guru
Participating Frequently
September 15, 2021

Hi [mention:81f3695654034831815b0faf14934955:e9ed411860ed4f2ba0265705b8793d05],

As Mike suggested, you can use MNI to execute multiple instances. However, if your use case if more around creating a loop in the process flow you can refer - docs.appian.com/.../Process_Model_Recipes.html