How to hide embedded list of outages (task_outage) on incident form

Milan13
Giga Expert

Hello,

I have an embedded list of outages on my incident form (please see below print screen) .

I only need this list to be visible for major incidents (major_incident_state = 'Accepted').

Any idea how to do this?

Many thanks, 

Milan

find_real_file.png

 

1 ACCEPTED SOLUTION

Hello Milan,

There is one field available on Client script isolated script. please add that field on this form and uncheck it.

Please check the below screenshot and yellow marked text.find_real_file.png

 

Now this script will definitely run.

Thanks,

Abhishek Gardade

Thank you,
Abhishek Gardade

View solution in original post

13 REPLIES 13

Hello Milan,

I have tested above code and it works for me. which Service Now version are you using(Madrid, London)?,

Please send me a screenshot of your client script where you have written this code?

Thanks,

Abhishek Gardade

Thank you,
Abhishek Gardade

I have Madrid.

It's actually placed in UI Policy, but it should work anyway shouldn't it?

Please see my client script below, not sure why it does not work...

Thanks a lot.

Milan

find_real_file.png

Hello Milan,

There is one field available on Client script isolated script. please add that field on this form and uncheck it.

Please check the below screenshot and yellow marked text.find_real_file.png

 

Now this script will definitely run.

Thanks,

Abhishek Gardade

Thank you,
Abhishek Gardade

Milan13
Giga Expert

Amazing, it works! 🙂

Thanks a loooot!

Milan