- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 01:31 AM
Hello,
Do you have any idea how to create an acl so that deletion of change request record would only be allowed if the user that created the change request is the one that will delete it?
I tried setting the following role condition but it is not working.
Is my condition wrong or do you have any idea on how to make this work.
Thanks in advance
Solved! Go to Solution.
- Labels:
-
Multiple Versions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 01:40 AM
You need an advanced scripted condition with this line of code
answer = gs.getUser().getName() == current.sys_created_by;
Please mark Correct and Helpful if my answer helps you resolve your issue. Thanks!
Martin Ivanov
Community Rising Star 2022
Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 01:47 AM
Actually I considered that, but change request is using the global(delete) ui action that is why I just decided to try using the ACL. Thanks by the idea.