Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

ACL Issue in Flow When the Flow is triggered by the System

Rohit_Singh_19
Tera Contributor

Hi All/ @Ankur Bawiskar 

 

I have a flow which is triggered at 4:00 AM GMT. Now in that flow I am using look-up record for the table X and then sending an email using Send Email Action. In Send E-mail body I am using Table X record attributes using data pili picker. When I am testing the Flow using Test UI Action in flow I am not facing any issue. My Flow Properties is set as Run As - User Who initiates the session.

 

However, when the flow is getting triggered by the system at 4:00 AM GMT. I am getting an error while sending email. 

I tried to change the Flow property to Run As - System User. Now when I am testing it manually through UI Action I am getting the same ACL error.

 

My understanding is when the flow is initiated by the system then the all the ACL's are evaluated to true. 

 

Error: Email validation failed: ACL restricts retrieval of the record: Table Name of X Sys_ID of the table record

 

Note: The Flow and Table X both are in same application. 

10 REPLIES 10

Voona Rohila
Giga Patron

Hi @Rohit_Singh_19 

Did you check if there are read ACL's that has admin overrides false and is restricting the read access for admins.

Use Access Analyzer to debug if the admin role have access to that table or not.

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
5x ServiceNow MVP

Tanushree Maiti
Tera Sage

Hi @Rohit_Singh_19 

 

Cause

The Run as property in the flow properties is set to System User. The system user lacks permission to read the table, which causes the failure.

Resolution

To resolve this issue:

  1. Go to Flow Properties.
  2. Set the Run as property to User who initiates session.
  3. Run the flow with a user who has read access to the record.

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

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Hi @Tanushree Maiti ,  I am still facing the issue when  Flow property is User who initiates session.

Share your READ ACL on that table screen shot with ACL role.. and share that Role user is having.

 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: