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

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

Hello Ankur,

I am glad you replied. I had seen your thread and created the custom action but when I tried this, it will not recognize the pill as an array.

find_real_file.png

If I run a test on the action though, it does send back an array.

find_real_file.png

Hi,

Glad to know.

Did you create the output variable as Array of string as per my blog

Regards
Ankur

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