Flow Designer: For Each action with List Collector and Approval

A_Nelson
Kilo Expert

Hello!

I am trying to get approval from the Product Owner of each software selected in a list collector. The list collector is link to the Software Model and the For Each action allows me to use the List but when I try to do a Look Up Record to try and get the Product owner, the data pill from the For Each action is greyed out.

Where have I gone wrong? I need to do this for 6 different list collector fields in the same manner but on different tables.

Any help would be greatly appreciated!

 

find_real_file.png

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@anelson3 

refer my blog for converting the string into array of string

if that helps please mark it helpful and also bookmark it

Using list collector in Flow Designer 'For Each loop' by converting string into array of string

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

13 REPLIES 13

Yep, I have it set to Array.String but the pill itself has the value just listed as String.

find_real_file.png

 

find_real_file.png

Figured it out! I just had to change the output from Array.String to Array.Object and it works like a dream! 

Thanks for your help! I will be sure to mark your thread as helpful ????

 

@anelson3 

Glad to help.

Please remember to mark blog as helpful and also bookmark it

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Phani19
Tera Contributor

Hi Nelson,

 

I did the same thing, but when reading the output from the action the flow is giving error.

 

find_real_file.png

Hello,

 

Did you get an answer to this issue. I'm struggling with the same issue and not able to figure what is the issue?