Hide tab on a specific state of the form

Alessia Russo
Tera Expert

Hi everybody! I would like to hide some custom tab on my task form until it reaches some states, and after make it appear on the form. Is there a way without script for do that? Or it is possible anyway? If it's possible only with script, could somebody tell me which one should I use?

Thanks

1 ACCEPTED SOLUTION

benn23
ServiceNow Employee
ServiceNow Employee

Ahh, I see.  You're actually updating the record which is re-loading the form.  Your client script is not set up to run on load (2nd line of client script).  If you need this to run on form load, comment out lines 2-4.  

View solution in original post

15 REPLIES 15

test198
Tera Contributor

@Alessia I will say, you might want to try using GlideAjax within your the UI Actions, which will be an efficient way to do this.