Hi Team, i the catalog item form level "select role" variable witch is "list collector table(u_appl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 07:51 AM
Hi Team, i the catalog item form level "select role" variable witch is "list collector table(u_application_role ) table based on select records need to trigger approvals with record assignment group. after approving all the approval need trigger two catalog tasks .Please help on this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 07:59 AM
List Collector Variable
Create a list collector variable on your catalog item that references the u_application_role table.
Ensure it allows multiple selections.
Trigger Approvals Based on Selected Roles
Use Flow Designer with a For Each loop to iterate through selected roles.
For each role, fetch its associated assignment group and trigger an approval action.
You can store assignment group info in a related table or use a reference field in u_application_role.
Post-Approval Task Creation
After each approval, use the flow to generate two catalog tasks.
Assign these tasks to the relevant assignment group linked to the approved role.
Handling Multiple Roles
Ensure your flow handles multiple roles independently.
Use subflows or branching logic to avoid overwriting task data when looping through roles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 08:01 AM
so what did you start with and where are you stuck?
You can use a flow variable and get the approval group and then use it in "Ask for Approval" flow action.
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-15-2025 01:32 AM
Hi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 08:02 AM
Hi @AA6,
for something similar, just not roles but locations, I have built approval decision table.
In the Flow Designer (aka Workflow Studio) you can create a a flow variable and in that variable you will catch the value from the catalog item and based on that you can create records as per your need.
Do some pilot and let me know if you will need help
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */