- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 02:47 AM
Flow for a catalog item is not working as expected on impersonating HR User. The RITM Shows the stage as "Waiting for Approval" as designed but it doesn't triggers the Manager's approval. However, the same flow works fine for an admin user.
Any help on this would be appreciated.
-Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 05:17 AM
Hello everyone, thanks for all your inputs.
Actually there was a flow running on "REQ" table as well. That flow had "Run as" - "User who initiates session". I updated it to "System User" and it works fine now.
-Thanks again for your time 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 03:21 AM
Hi @Priyanka Ghosh , have a look at the flow context to understand why is it not generating the approval record. Also, check the flow is running as a 'System' user rather than the user who initiates the flow.
If this does not help, please share a snapshot of the flow context and the error message.
-Harneet Sital
Find all my ServiceNow articles here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 04:00 AM - edited 06-04-2024 04:18 AM
Hi @Harneet Sital ,
"Flow Context" UI Action is even unavailable when I request the catalog item on HR impersonation. However everything is working as expected with Admin role.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 04:03 AM
Check this thread
https://www.servicenow.com/community/itsm-forum/getting-error-for-flow-context-ui-action/m-p/2807118
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 04:06 AM
Hi @Dr Atul G- LNG ,
Flow Context UI Action is available when I request the catalog item as Admin but when I try to do it as HR, the flow doesn't seem to work. The stage goes to "Waiting for Approval" but it doesn't trigger the Manager's approval. However, everything works as expected with Admin role.