Start the process model multiple times using a!startprocess() in the button's saveInto.

I have one array and want to run startProcess() for each value in the array. I have implemented the following, but I get an error (Non-Save Reactions should be unwrapped individually and not processed as a list)

localVariables(
local!array:{"1", "2", "3"},
.
.
.
.
 saveInto:a!forEach(
              items: local!array,
              expression: a!startProcess(
                processModel: cons!AAAAAAA,
                processParameters: {
                  value: fv!item,
                },
                onSuccess: {
                  a!save(ri!result,fv!processInfo.pv.result)
                }
              )
            )
 )

)

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data