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.

How to set the priority

Ajay Singh2
Tera Contributor

If the Child incident has a higher priority than the Parent, the Parent incidents Priority shall update to the higher priority (impact/urgency).

How to achieve this with Business Rule.

1 REPLY 1

_Gaurav
Kilo Sage

HI @Ajay Singh2 

As a Parent incident can have multiple child incidents you can write a BR on the incident table where the condition should be the parent is not empty.

 

if(current.impact == current.parent.impact && current.urgency == current.parent.urgency){

}

else{

current.parent.impact = current.impact;

current.parent.urgency = current.urgency;

}

Please hit helpful if this resolves your query
Thanks!