Emergency change should be visible for P0,P1 Incidents??

naveenmyana
Giga Expert

Hello Everyone,

We have a requirement that Users should be able to create emergency change requests for P0, P1 Incidents from the Incident form Related lists. So when the users open the P0 or P1 Incident and scroll down to below we are having "Change requests" related list tab, So when the user clicks on New button in "change requests" related list tab it should show the "Emergency change" link as shown below. But right now it is visible for all Incident priorities.

Please guide me how can I achieve this one...

Inc.PNG

change.PNG

emerg.PNG

NOW Platform ctomasi Pradeep Sharma's Blog anup

Thank's alot in advance...

9 REPLIES 9

Have you had a chance to test it?


Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi Naveen,



Hope you are doing well!



You have to use below api:


g_form.hideRelatedList('change');



It should be in condition statement which you want.



Thanks




Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Any reason for not using the UI Action instead called "Create Emergency change"? Why have the user need to scroll the whole way down?


find_real_file.png



Then you can make if you like a conditions that it only shows on P0?(what is P0??) and P1s and let it hide for the rest.


Hello Goran,



Yes, We are actually using this now. I just wanted to know if we can achieve the solution for my question. Thank you so much for your suggestions.


nagurbhasha sha
Tera Contributor

Hello,naveenmyana,

Did you get the solution for this query? If yes please let me share the solution process to me also,it will helpful to me.

Thanks.