Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Catalog item - Plus sign to add new reference variable in user form

rafaelalves4337
Tera Contributor

Hello team,

 

I'm struggling with workflow Studio (Flow designer) to collect the users from a list collector and add the user to the selected group, already tried to do many different things.

 

Already tried @Ankur Bawiskar - List Collector Convert to Array, it's not working for me (Washington DC).

 

Because I need to finish this form, I was thinking to give the option of the user to add a new fields (Reference) as needed, like a "plus" sign besides the first Username field:

Screenshot_191.jpg

 

Anyone knows how to do it?

 

Thank you in advance.

6 REPLIES 6

This is my Output:

Screenshot_193.jpgScreenshot_194.jpg

Travis Rogers
ServiceNow Employee

Have you considered a multi row variable set? Each row could capture a unique user, group, and action (add/remove) and your requester could dynamically add as many rows (ie “users”) as needed. 

 

Helpful blog by @Brad Tilton on the topic - https://www.servicenow.com/community/developer-blog/exploring-the-multi-row-variable-set/ba-p/229153...