Approvers list is not populating on RITM form when request is submitted via Employee Center Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
Hi team,
I’m facing two issues in Flow Designer when requests are submitted via the Employee Service Portal:
When I submit a request through the portal, the Request and RITM records are getting created correctly, but approvers and tasks are not being created or populated on the RITM form. However, when I run the Flow in Test mode with the same RITM, the approvers and tasks do get created.
Additionally, upon RITM creation, it is automatically being assigned to a specific user, and the system logs show that the user has “self‑assigned” it (i.e., the assignment appears to be made by the same user). This is happening with all RITMs, and customer don't want this functionality.
I need help investigating the root cause and resolving both of these issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
Hi @ReshmaNarale ,
- Check the Flow Trigger: Navigate to the Flow Designer and open the Flow associated with your catalog item. Ensure the trigger is correctly configured to run when a Request Item (RITM) is created for your specific catalog item.
- Look for Flow Errors: After submitting a request through the portal, check the Flow context for that RITM. Look for any errors, warnings, or indications that the Flow was cancelled or did not complete as expected. You can find this information by navigating to Flow Administration > Flow Contexts and searching for the RITM number.
- Examine Custom Scripts: Review any Business Rules, Client Scripts, or Workflow scripts that might be running on the RITM table after insertion. A script might be incorrectly cancelling the Flow or modifying the RITM record in a way that prevents the Flow from continuing.
- Review Business Rules: Check for any Business Rules running on the sc_req_item table. Look for scripts that set the assignment_group or assigned_to fields. The script might be incorrectly using the gs.getUserID() or gs.getUser() methods, which would return the current user—in this case, the user who submitted the request via the portal.
- Check Flow/Workflow Activities: Within the Flow or Workflow associated with the catalog item, look for an activity that sets the assignment group or assigned to user. An activity like "Set Values" might be incorrectly configured to pull the user from the Request or RITM record itself.
- Check Assignment Rules: Navigate to System Policy > Rules > Assignment Lookup Rules to see if any rules are configured to automatically assign RITMs based on specific conditions.
- Review "Before" and "After" Scripts: A script could be running after the RITM is created, causing the assignment. Check the order of execution for any custom scripts.
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
Thanks, GP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
so any assignment rule is setting that group?
what debugging did you do?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader