Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

How to hide /show UI action Button in the UI policy or client script?

ramuv
Tera Expert

How to hide /show UI action Button in the UI policy or client script?

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron

Check here

 

https://www.servicenow.com/community/service-management-forum/i-want-to-hide-an-ui-action-button-by-...

 

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************

View solution in original post

4 REPLIES 4

Dr Atul G- LNG
Tera Patron

Check here

 

https://www.servicenow.com/community/service-management-forum/i-want-to-hide-an-ui-action-button-by-...

 

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************

Anurag Tripathi
Mega Patron

Hi,

Why are you not using the UI Action Conditions?

-Anurag

Jitendra Diwak1
Kilo Sage

Hi @ramuv,

 

You can define the condition in UI Action. Suppose you have state is pending then it shouldn't be shown then you can type this condition in condition field like current.state ='pending give the backend name here'

 

Please accept my solution if it resolves your issue and thumps 👍 up. 

 

Thanks 

Jitendra 

Please accept my solution if it works for and thumps up.