- 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: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
02-03-2025 09:42 PM
Hi @NagaChandaE ,
Since it is an OOB UI action, do I need to create a new UI action, or can I add the condition directly to the OOB one?
Best regards,
Pavan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2025 06:02 AM - edited 02-04-2025 06:05 AM
Yes, You have to create a new ui action and make inactive oob ui action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2025 05:33 AM
So logically before a change moves to the review state, the task must be in the closed state, so you need to add a validation before making the change to review and check all tasks in the closed state, this is best from the process and platform side.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************