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

Hello @Viraj Hudlikar , 

 

Thank you for suggestion.

Yes, you are right, for this situation user must have access to update the record and this can be done by giving access via write ACL as mentioned by @Ankur Bawiskar 

 

Thanks,

Lakshya chaudhary