Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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!