- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2025 02:56 AM
Hi All,
We have a ui action button(close task) in the change task table. Now, I want hide this ui action button on the change task form when the parent(change request) is in review state. Can anyone please suggest me how to achieve this.
Best Regards,
Pavan.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2025 05:32 AM
Add this line in condition field in ui action
&& current.change_request.state!= 0
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Naga Chandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2025 05:39 AM
Hello @Pavan Kumar28 -
To Hide Ui Action if you open the same you will see field named condition you can place your condition as per your requirement and then if condition is met the ui action is showed over form else it is hidden.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2025 06:14 AM
add this in existing UI action condition.
Note: You are updating OOB UI action, which is not recommended
current.change_request.state.toString() != '0'
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