Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

List collector is not working in Flow designer

Allen12
Tera Guru

I have a Catalog Item that determines action and uses a list collector to determine users that should be modified in a predetermined group.  When Flow runs it states For each ran, but no users are found.  The Variables show the users are listed.

 

Allen12_0-1694529354443.png

 

Here is a screen shot of the flow and execution.

 

Allen12_1-1694529441104.png

 

Any suggestions would be Appreciated.

 

Allen

 

1 ACCEPTED SOLUTION

Shruti
Giga Sage

Hi,

Apply transform in 3rd step for each item in. Split will return an array of users. 

ShrutiW_0-1694535633183.pngShrutiW_1-1694535669482.png

 

View solution in original post

3 REPLIES 3

Shruti
Giga Sage

Hi,

Apply transform in 3rd step for each item in. Split will return an array of users. 

ShrutiW_0-1694535633183.pngShrutiW_1-1694535669482.png

 

When I try this, the For Each step now says "No data available" and I can't do anything with the variable it's looping on (originally a list of records). Am I missing something?

KellyLogan_0-1703602781302.png

 

Note: I have tried the comma separator both with and without quotes. Same result. Though when I display my variables, they show as List and not Records. 

KellyLogan_1-1703602964608.png

 



Allen12
Tera Guru

Thank you,  It fixed the issue.