ACL Issue in Flow When the Flow is triggered by the System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Ankur Bawiskar ,
We have Table level ACL for CRUD. Allow If 4 ACL CRUD operation and Deny Unless 4 ACL CRUD.
In All Deny Unless ACL we have Security Attribute UserISAuthenticated.
Regards,
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
So we have CRUD ACL on table for Allow If (record) with roles and then CRUD ACL for deny unless (record) for which we have security Attribute as UserIsAuthenticated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
sorry can't help much since no access to instance.
please debug or raise a case with ServiceNow
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
