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.

Don't close incidents when incident tasks are open

riaz_mansuri
Kilo Guru

Hi

I would like to create a rule that if an Incident has any Open (Incident) Tasks the Incident cannot be closed.

Not all Incidents will have tasks.

Any help?

Thanks

Riaz

1 ACCEPTED SOLUTION

Hi Riaz,



Please add filter condition in BR as below:


find_real_file.png


and in code do the gliding on incident_task table rather then incident as below and then try:


find_real_file.png



Thanks,


Anjali


View solution in original post

12 REPLIES 12

Thank you Anjali.

 

I have disabled UpdateChildincident (OOB BR), But still whenever i am closing the parent child incidents are automatically closing.

 

Please advise 😞

 

Regards.

Vijay

Thanks Goran - Can you possibly paste the code used here?



Thanks


Riaz