The CreatorCon Call for Content is officially open! Get started here.

"Create Emergency Change" UI action should be only be visible for P1/P2 incidents.

sivaprince231
Giga Expert

As a change manager, I want an emergency change to be created only from P1 or P2 incidents.

  1. 1. Edit Change Interceptor to disable Emergency change.
  2. 2. "Create Emergency Change" UI action should be only be visible for P1/P2 incidents.
  3. 3. Impersonate itil.<your first name> and click to create a new change request. Emergency change should not be an option.
  4. 4. Open an existing P1 incident, "Create Emergency Change" UI action should be visible.
  5. 5. Open an existing P3 incident, "Create Emergency Change" UI action should not be visible.
7 REPLIES 7

Hello

Step 1

Open the UI Action-> Create Emergency Change 

NANDKISHORG_1-1749481982316.png

Step 2 just add the code end of the existing code 

&& (current.priority==1 || current.priority==2)

NANDKISHORG_0-1749481916806.png

 

Regards ,

Nandu

Yogish Naik1
Kilo Guru
very simple... Write your code in Script part of UI action... write current.priority==1 || current.priority==2 in 'condition'...

Riddhi
Tera Contributor

You just need to add the condition

current.priority==1 || current.priority==2 &&

Solution.PNG