Don't allow other UI Action buttons to be clicked until Assign To me button is clicked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2025 08:51 AM
Hi Everyone,
I have tried various ways with no success to get other UI Actions in workspace, e.g., Approve, Escalate, Decline to not be available unless the Assign To button gets clicked 1st if the user is part of the assignment group and is not the current assigned to user. So, I am hoping someone here has had the same requirement that may be able to provide some in sight as to how you may have met this requirement please.
The other thing that I seem to be having an issue with is getting the Assign To clear when the assignment group changes. I have tried onChange client script as well as Business rule and neither seem to recognize that the assignment group has changed. The assignment group changes once the user clicks one of the other ui actions, e.g., Approve, Escalate, or Decline. So the field should clear right away. Any thoughts on why either of these methods may not be working would be greatly appreciated.
Thanks,
Annette
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2025 10:12 PM
why not show those buttons only when Assigned to is populated
current.assigned_to != ''
You can clear the Assigned to via the UI action click, by adding code inside that UI action script
what didn't work for you? share screenshots.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader