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

What is information standard change? 

Type = Standard right?

-Anurag

@Anurag Tripathi yes type is standard change if short description contains informational standard change then request approval button need to be hide.

So append this in the condition

(current.type!='standard' && current.short_description.toString().IndexOf('informational standard change') >-1)

-Anurag

@Anurag Tripathi i have added in the condition but request approval button is still showing in the form.

Can you show the form and the condition?

-Anurag