Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

In the Flow the users are getting this error

avinash1289
Tera Contributor

Hi Team,

 

The requested flow operation was prohibited by security rules.

 

avinash1289_0-1765394669673.png

 

2 REPLIES 2

Hajar BENJAHHAR
Mega Sage

Hello @avinash1289 , 

 

The error means that the user has not the right role to create the task. 

To resolve the issue, you can add the appropriate role to the user or to add the role in the section Run with role(s). Please refere to the screenshot. 

Capture d'écran 2025-12-10 204312.png

Best regards, 

Hajar

Brad Bowman
Kilo Patron
Kilo Patron

I would recommend changing all flows to Run As System User.  You're going to have other issues if you don't, and I haven't heard of any good reason to do otherwise.

BradBowman_0-1765396163677.png