- 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
01-13-2025 05:53 AM
are you using flow or workflow for your catalog item?
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
01-20-2025 08:51 AM - edited 01-20-2025 09:24 AM
can you please provide a solution for workflow.
Script in the catalog task activity:
With the above script am able to create only one catalog task getting assigned to last assignment group in the array. remaining are groups are ignored.
- 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
01-13-2025 06:05 AM
Thank you Ankur.
I tried flow designed, I was missing to use for each group.
I added and its working fine.