showing error as "The requested flow operation was prohibited by security rules"

Lakshya Chaudha
Tera Contributor

@Ankur Bawiskar 

issue 1: In work notes, 'Updated by' shows as 'System'

soln to issue 1: Updated the flow properties Run As from 'System User' to 'User who initiates session' to achieve one functionality

worknotes.png

 
Issue 2: Now in flow properties Run As is 'User who initiates session' because of this user is not having enough role to update record and getting error as "The requested flow operation was prohibited by security rules".
 
 
How can we achieve both functionality without disturbing other one?
 
 
1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Lakshya Chaudha 

So you want flow to Run as "User who initiates session" but that user doesn't have valid write access instead of System

Did you check which field level WRITE ACL is blocking?

Try to determine the ACL and fix that and then your flow should work fine

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Lakshya Chaudha 

So you want flow to Run as "User who initiates session" but that user doesn't have valid write access instead of System

Did you check which field level WRITE ACL is blocking?

Try to determine the ACL and fix that and then your flow should work fine

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Lakshya Chaudha 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Viraj Hudlikar
Giga Sage

Hello @Lakshya Chaudha 

 

As per my experience it can be either one not both can be achieved and if it's really needed then user must have access to update the record.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

Hello @Lakshya Chaudha 

 

I believe you are doing great.

Did my reply answer your question?

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

As per new feature over community you can accept multiple correct answer if it has helped you.

 

Thanks & Regards,

Viraj Hudlikar.