unable to create record user record

damodar
Tera Contributor
  • Upon submission, request is sent for approval to requestor's manager.
    • If approved:
    • If denied, request is closed and user is notified.

      this is my requirement but in flow context it is showing the Create Record → Error
      The requested flow operation was prohibited by security rules.

      how to resolve this issue can anyone explain with navigation 
2 ACCEPTED SOLUTIONS

PoonkodiS
Giga Sage

Hi @damodar 

PoonkodiS_0-1782221159764.png

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

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

 

  • Open your flow in Flow Designer.
  • Click on the Flow Properties (the ... icon or the properties menu button at the top right).
  • Find the Run As configuration field.
  • Change the selection from User who initiates session to System User.
  • Save and Publish the flow. 

 

 

 

View solution in original post

Tanushree Maiti
Tera Patron

Hi @damodar 

 

  • Ensure Flow's Run as has been set as System user. If not Change the Run As setting from User who initiates session to System User.
  • Verify the exact table you are trying to write to.Check the Access Controls (ACLs) for that table to see if it requires an elevated role .Refer : KB0870023 Flow Designer Create Task fails due to security rules 
  •  
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

View solution in original post

2 REPLIES 2

PoonkodiS
Giga Sage

Hi @damodar 

PoonkodiS_0-1782221159764.png

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

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

 

  • Open your flow in Flow Designer.
  • Click on the Flow Properties (the ... icon or the properties menu button at the top right).
  • Find the Run As configuration field.
  • Change the selection from User who initiates session to System User.
  • Save and Publish the flow. 

 

 

 

Tanushree Maiti
Tera Patron

Hi @damodar 

 

  • Ensure Flow's Run as has been set as System user. If not Change the Run As setting from User who initiates session to System User.
  • Verify the exact table you are trying to write to.Check the Access Controls (ACLs) for that table to see if it requires an elevated role .Refer : KB0870023 Flow Designer Create Task fails due to security rules 
  •  
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti