
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 12:38 AM
Hello Experts,
I have list collector variable (assignment_group) on catalog item form referencing to a custom table and all those groups are present in sys_user_group 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.
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.
Please help me to achieve this
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 04:13 AM
Yes the tasks needed to be created parallelly.
i used the run script activity to achieve this scenario and it worked.
Here is the modified script:
task.insert();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 04:23 AM
@Community Alums
how will you associate the catalog/ritm variables on catalog task created via script?
How will the agents working on those task know what are the request details?
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-21-2025 04:35 AM
As you could see the script in this thread which has
task.request_item = current.sys_id;
with the above link enusers all variables are associated with the task.
Hope this clarifies your question