Prevent an admin from specific deletions in background script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2026 02:21 AM
Hello,
is it possible to prevent background script deletion of only a specific table like sys_user for admin users?
So, for example:
We want to prevent, that users with admin role cannot execute deletion on the sys_user table.
Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2026 04:12 AM - edited 02-24-2026 04:13 AM
That would block the whole background script execution which will be too much. We just want to prevent them from executing deletions on a specific table.
Anyways, I am wondering what the difference is between this property and the new "scripting governance" function....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2026 04:41 AM
Hello @Anton42 ,
As per my understanding, you cannot technically prevent background scripts from deleting sys_user(or any custom table) records while still allowing admins to run other background scripts. The workaround is to restrict background script access altogether, or enforce a business rule that blocks deletions on sys_user regardless of execution context.
If my response helped mark as helpful and accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hello. So our current solution is really to block for these certain admin users the background script execution completely.
The last idea we have and will test in some weeks is the protection via flows in a scope instead of protection via business rules because it seems that you cannot bypass flow executions in background scripts with setworkflow false.
