Can a user with ITIL roles or Fulfiller users execute a UI Action which calls a flow action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2025 12:40 PM
Hi All,
I have a user with ITIL roles , my setup is I have a Flow Action which is getting triggered from a UI Action and this UI Action is presented to the itil/fulfiller user on RITM form. Now when I execute this UI Action as an admin it works fine but for itil users / fulfiller users in my case , it looks like that it does not have access to the sn_fd.FlowAPI and it fails to execute the Flow action getting triggered from the UI Action. I get the error of : "Method failed with code 403 : Forbidden username/password combo" is it the right error or the third party system is not behaving properly?
Is there a workaround for this scenario?
I can not write this action inside a flow as this flow action needs to be called repeatedly for the same record and it is making a call to a third party system to send some data. If I write this flow action inside a flow there will be multiple instances of this flow getting triggered or may face the error of flow already executing for this record.
Can I use some API to set the user as system user and write this inside my UI Action before the flow action is called ? I saw it somewhere but I am not sure about the function call. Also will it be a good practice ?
And if we need to assign roles , what are the specific roles to make it work for fulfiller/itil users?
Thanks in advance.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2025 01:18 PM
In your Flow, set the Run As to System User.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2025 01:18 AM
Hi @SanjivMeher ,
I am calling my flow action from a UI Action using sn_fd.Flow_api can this be run as a system user or not ? or is there a workaround for this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2025 02:16 AM
The flow/subflow/action which you are triggering from UI action ensure it's configured as Run as -> System User
This should work for you
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
05-01-2025 03:33 AM
Hi @Ankur Bawiskar How to configure a Flow action to run as a system user , I have only created a flow action and calling it in my script.