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.

how to hide Request approval button for particular change request

Vani14
Tera Contributor

we have created standard change we need to hide request approval button only for that change request. i have tried using script in UI policy but its not working. 

 

 

Vani14_0-1689678101985.png

 

 

Vani14_1-1689678138051.png

 

19 REPLIES 19

Anurag Tripathi
Mega Patron
Mega Patron

Can you show what you are trying to hide?

If it is a UI Action(button) then you just need to add that in the condition of the ui action.

-Anurag

Hi @Anurag Tripathi ,

i need to hide request approval button only for this standard change

 

Vani14_1-1689679218388.png

 

 

 

Find this ui action as shown below

AnuragTripathi_0-1689679662185.png

 

 

And Add this in the condition, append it using && operator

current.type!='standard'

 

-Anurag

@Anurag Tripathi we need to hide only for informational standard change could you please help me. how we can achieve this