Grayed List choice "Delete" UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025 04:18 AM
Hi All
I have query, When the change request state is move to approval, need to gray out the “Delete” list choice for affected CIs in the related list.
“Delete” is List choice global UI action, and it is working on change_task in the related list but not on the affected CIs.
Thanks & Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025 05:31 AM
Hi Runjay,
Thanks for your response, but I tried with your script PDI also by changing the state value as below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025 07:16 AM
Hi @madhusagar ,
what you done is correct it should not be returned it should be set to answer variable.
you have to adjust all the other ACLs with the same script which are giving the access to delete the records.
For testing use the non admin user if any ACL is with admin overrides checked.
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025 09:35 PM
Hi Chaitanya,
Thanks for your response,
When I impersonate with non admin I observed that "Delete" button still visible but "Delete with Preview" is button is grayed out. Please let me know , I want to grayed out both.