- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 05:52 AM
Hello Experts,
I have list collector variable (choose_assgn_grp) on catalog item form referencing to Groups table, I want to trigger catalog tasks to any group selected on catalog item variable while raising a request. If one group is selected then one catalog task should tigger to that particular assignment group. If multiple groups are selected that multiple catalog task should trigger to those assignment groups.
Please advice how can I achieve this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 05:56 AM
check my blog on how to create multiple catalog tasks
Using list collector in Flow Designer 'For Each loop' by converting string into array of string
you can check if only 1 group is selected then create only 1 task
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 09:55 PM
To trigger catalog tasks dynamically based on the groups selected in a list collector variable (choose_assgn_grp) referencing the Groups table, you can use Flow Designer in ServiceNow. Start by creating a flow that activates when a catalog request is submitted. Within this flow, use a "For Each" loop to iterate through the groups chosen in the list collector. For each selected group, add a "Create Catalog Task" action and set the assignment group field to the current group in the loop. This setup ensures that if one group is selected, one task is generated for that group, and if multiple groups are selected, multiple tasks are created each assigned appropriately. This approach automates task generation and ensures accurate group-level assignment without manual intervention.
