Hide deactivate button on change temaplate when risk is chosen low in proposal associated with it.

1_DipikaD
Kilo Sage

Hi All,

The given standard change template is associated with the given standard proposal. Want to hide deactivate button on change template when risk is chosen low in proposal associated with it. Is it feasible and will it impact if someone is requesting through API using that change template ?

 

Thank You

 

 

1_DipikaD_0-1747299922078.png1_DipikaD_1-1747300047254.png

 

10 REPLIES 10

Arun_Manoj
Mega Sage

Hi @1_DipikaD ,

 

please check given link

https://www.servicenow.com/community/developer-forum/how-to-hide-button-button-on-state-change/m-p/2...

 

Solution is fine, please mark it as Helpful.

 

thanks

Arun

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @1_DipikaD 

 

Technically and practically, this isn’t a good use case. The purpose of deactivation is that if, for any reason, the standard change fails, the template must be deactivated to prevent any disruption. Additionally, practically, I think it's not possible because the deactivation button is on the template table, where the data is coming from the Change table.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

If  any custom button is there , can we hide that for example instead of Deactivate button ? Suppose that button is used to create a change .

iHi @1_DipikaD 

 

I doubt it is doable, the reason is button and fields on 2 different tables, not sure how the dot walk will be possible.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************