We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Getting error on the For Each in Flow Designer

JLeong
Mega Sage

Hi Guys,

Need help .... I am trying to automatically create group and add members to it via a catalog request.

The group gets created no issues, but when I try to add members using For each on a list collector, I get an error:

Please assist.

Thank you!

find_real_file.png

1 ACCEPTED SOLUTION

I invite you to watch today's video where I go in to some examples similar to what you asked for.

View solution in original post

12 REPLIES 12

Chuck Tomasi
Tera Patron

Can you share the error you are getting?

sys_user_group and sys_user_grmember are in global. Is your flow also running in global or could there be a global-scope access issue here?

Hi Chuck,

Thanks for checking on my question. There isn't really an error message. Just the word ERROR on the execution.

I also have the flow in global scope.

Please see attached.

 

find_real_file.png

Thank you in advance Chuck!

 

Regards

 

 

 

 

Hi Chuck,

I opened a case and came back saying that this feature is currently unavailable, will be available in the future releases. 

PRB1343826

For the meantime, they asked to create a custom action and use a script step to iterate or do complex processing with elements not supported in Flow designer UI.

Would you be able to help with that?

Thank you!

 

I might be able to help if you can describe what the flow is supposed to do. All I see from the image (thank you by the way) is a Create Record, then a For Each. Not sure what the process is supposed to be doing without any details. Thanks.