Display IN progress button when state is NEW.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2020 09:48 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2020 10:06 PM
Hey, Arjun,
If i am not misunderstood then you want to show the In Progress button (UI Action) button. Then you just need to add a Condition in UI Action Conditions field:
Script:
current.state == 1 (Value of new)
That's it!!! No need to change the In Progress button Script.
If my answer helps then please mark it Helpful as well as Correct.
Thanks and Regards:
Utpal Dutta
DxSherpa Pvt. Ltd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2020 10:49 PM
Hiii,
In this case,
You just need to to type " current.state == 1 " in condition field in UI Action.
Regards,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2020 10:55 PM
Hi Arjun,
Your need is to display In Progress button when State is new.
You can create a n UI Action named In Progress as form button and specify your condition as:
current.state==1
UI action will be visible only if state is new. Here I share screenshots.
If my answer is helpful to you, mark it as helpful as well as correct.
Thanks and regards,
Megha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2020 11:02 PM
Hi Arjuna,
If your question is related to showing UI action condition based on some Drop Down choice field on form then you can use this condition in your UI action condition field
ensure you are using correct field name and choice values
current.<stateField> == 'New'
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader