How to pass array.string subflow input in ask for approval action in subflow

apurvab
Tera Contributor

Hello,

 

I have an array.string output from an action which returns the sysid of approval users, I want to use it and map it to the input of the subflow and trigger an ask for approval action to all the users in the array and wait for all to approve. The ask for approval action in approval is not accepting array.string.

 

Thanks in Advance.

1 REPLY 1

k_lutz
Giga Sage

Hi,

It would probably be easier to day with a screenshot and a confirmation of the string you are passing, but I believe that the approval action will act on one at a time. So you probably need to add a For/each loop to go through that string for each entry and in the approval attribute make sure it is set to all must approve.