Security issue while adding/removing users from HR group via Flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
Hi all,
- Running the Flow as System User → failed due to security restriction.
- Running with Run with roles and adding assignable roles → works only when “Assignable by” is populated.
- Using a Business Rule to insert/delete sys_user_grmember → still blocked by the same restriction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Do you see any "invalidated or requested" records in "sys_restricted_caller_access" table for your application.
What is the scope of your flow?
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Issue is most likely due to restricted caller access.
Check below knowledge article for more information
https://noderegister.service-now.com/kb?id=kb_article_view&sysparm_article=KB0960942
See if there is any request from Flow Designer for the target table and allow the request [status = allowed] and try the flow again.
As per community guidelines, you can accept more than one answer as accepted solution. If my response helped to answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Below is the cross scope application access for sys_user_grmember table. 'Can Delete' is by default not allowed for scopes outside the global application scope. Try to provide 'Can Delete' option and test in Sub-Production instance
Alternate option is to see if you can create the flow in global scope and give necessary permissions to HR scope.
As per community guidelines, you can accept more than one answer as accepted solution. If my response helped to answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan