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.

Make custom form button invisible after clicking

THDR
Tera Contributor

Hi I have made a custom button thru UI actions. Clicking on it will assign the case to the logged in user and also change the state. 
I need the button to disappear for that task after its clicked. How can I implement that?

The button is Assign to me

Tashfique_1-1760069567824.png

 

Tashfique_0-1760069394740.png

 

1 ACCEPTED SOLUTION

Ricardo26
Tera Guru

Hi,

 

You can use the condition field in the ui action to show it only when on the specific state and when the logged in user is different from the assigned to.

 

View solution in original post

1 REPLY 1

Ricardo26
Tera Guru

Hi,

 

You can use the condition field in the ui action to show it only when on the specific state and when the logged in user is different from the assigned to.