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

I would like to automate the group request using Flow Designer. The request form will prompt users  to enter:

  1. Group name  (single line text) and
  2. Group Members ( list collector)

To add members to the new group, I need to create new records in the sys_user_grmember table based on the list collector.

 

Thanks Chuck!

 

 

 

 

If it were me, I'd create a new spoke with a few group management actions. Example:

  • Add user to group
  • Add list of users to group
  • Remove user from group
  • Remove list of users from group

The script for adding a user should be pretty straight forward as long as you can pass the variables from the request to the action. I'll have to do some testing on that. What release are you currently using?

This sounds kind of fun. I might consider starting a building it out on an upcoming Community Live Steam. 🙂

We just upgraded to Madrid and we just started using Flow Designer. In fact, this is our first attempt to use flow on a catalog item 🙂

Any help you could provide is very much appreciated. 

When is your next Community Live Stream?

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

Thanks Chuck! It was helpful!!!

You're the best!