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

Hi Anjali,



This is what I did according to what you wrote. It dies not work yet an I was able to resolve the Incident.



find_real_file.png


find_real_file.png


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


This code worked great - thanks


Would there be a needed update to this for Jakarta? It prevents the incident from closing when the incident task is active true and when its false. Any suggestions? 

Hello, Can this also applied in SOW?