Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Automatically lower Priority if major incident is rejected

Marta G
Mega Guru

Hello All

i am trying to create either a business rule or a UI policy that, once i reject the ''propose major incident'' will move the urgency of the incident from 1 to 2.

 

Any suggestion on how to do it? Should i change the script here (and if yes what should I add?)

MartaG_0-1719320331958.png

thank you!
marta

1 ACCEPTED SOLUTION

SAI VENKATESH
Kilo Patron
Kilo Patron

Hi @Marta G 

 

You can either create a UI Policy or Business rule.

 

In business Rule:

if (current.u_propose_major_incident == 'rejected' && current.urgency == 1) { // example for your reference
    current.urgency = 2;
}

 

Thanks and Regards

Sai Venkatesh

View solution in original post

3 REPLIES 3

Slava Savitsky
Giga Sage

You can simply create a business rule with a condition of "Major Incident State changes to Rejected" and update the Urgency as necessary.

SAI VENKATESH
Kilo Patron
Kilo Patron

Hi @Marta G 

 

You can either create a UI Policy or Business rule.

 

In business Rule:

if (current.u_propose_major_incident == 'rejected' && current.urgency == 1) { // example for your reference
    current.urgency = 2;
}

 

Thanks and Regards

Sai Venkatesh

Hi @Marta G 

 

If the answer is working you could you please mark it as a solution 

 

Thanks and Regards

Sai Venkatesh