Flow designer not working as expected for HR users

Priyanka Ghosh
Giga Guru

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

1 ACCEPTED SOLUTION

Priyanka Ghosh
Giga Guru

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 🙂

View solution in original post

8 REPLIES 8

Harneet Sital
Mega Sage
Mega Sage

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

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.

Hi @Priyanka Ghosh 

 

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]

****************************************************************************************************************

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.