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 UI Action using Client Script or UI Policy

Admin7267
Kilo Sage

There's a UI action called Close on incident table and I want to hide it when the state is new and I don't want to use condition field in the UI action as the limit is used for that field


What all other ways I can use to do that?

 

1 REPLY 1

palanikumar
Giga Sage
Giga Sage

You have to do it only in condition field. If there is a field size limit, then you can move the condition to a Script Include and call the script include as below

new ScriptIncludeName().isButtonVisible(current)

Thank you,
Palani