The CreatorCon Call for Content is officially open! Get started here.

Flow does not fire with snc_read_only role

PiotrekL
Tera Expert

Hi

 

I created catalog item which grants snc_read_only role. Second one needs to remove role( user can request it) . I set below properties and user can create ritm while having snc_read_only but flow is not fired. How to fix it( i tested and when snr_read_only role is not present flow is fired)

 

 

Why end user with snc_read_only role unable to add/edit/delete items in cart and create Request / Re...

 

Reagrds

Piotr

6 REPLIES 6

SP22
Giga Sage

Hello @PiotrekL,

https://www.servicenow.com/community/developer-forum/user-with-quot-snc-read-only-quot-role-cannot-t...

The read-only role and how to use it:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0748343

If this helped to answer your query, please mark it helpful & accept the solution.

Thanks
Santosh.p

G Ponsekar
Giga Guru

Hi @PiotrekL ,

 

Configure the flow to run as a system user: In Flow Designer, go to the Flow Properties for your workflow. Under the "Run As" setting, select System User. This allows the flow to perform write actions, such as adding or removing a role from the user record, which a user with snc_read_only privileges cannot do

 

If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!

 

Thanks, GP

Ravi Gaurav
Giga Sage
Giga Sage

Hi @PiotrekL 

--------------------------

 

Add below tables and can trigger flow.

sys_flow_plan_context_binding 

sys_flow_context

-------------------------------------------

The snc_read_only role is a special platform-level security role designed to make users completely read-only across the ServiceNow platform.

Once this role is assigned:

  • The user cannot perform any write operation (insert, update, delete).

  • They cannot create a new RITM, add items to cart, or trigger flows.

  • The platform enforces this restriction by blocking transactions at the ACL level.

That’s why:

Flow triggers when user does not have snc_read_only.

Flow doesn’t trigger when user has snc_read_only because they can’t insert/update sc_cart, sc_req_item, etc.

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

Hi

I added them and flow is not triggered