Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Hide Resolve button on Incident when incident is being created

FZ Tech
Giga Contributor

I have a requirement to hide Resolve button on incident form when an incident is being created. I tried modifying UI action condition by adding current.incident_state == 1 to the condition but then it is hiding resolve button for existing cases with New state. Need to hide this button only when incident is being created.

 

1 ACCEPTED SOLUTION

Tony Chatfield1
Kilo Patron

Hi, current.isNewRecord()  is used as an OOB condition in a number of UI actions, I would give this a try.

View solution in original post

1 REPLY 1

Tony Chatfield1
Kilo Patron

Hi, current.isNewRecord()  is used as an OOB condition in a number of UI actions, I would give this a try.