Creat Tasks on Closed/Resolved Incidents

johnfeist
Mega Sage
Mega Sage

We recently discovered that tasks can be added to an incident that has been resolved or closed.   To me that is illogical.   Since incident_task is a related list, how do I prevent the creation of those new tasks?

Thanks in advance for any suggestions.

John

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster
1 ACCEPTED SOLUTION

Please see below screen shot. It is working for me. What is the column name of your incident state(we have state and incident_state columns on incident from . Just curious which one you are using)



find_real_file.png


View solution in original post

13 REPLIES 13

sachin_namjoshi
Kilo Patron
Kilo Patron

You can create ACL on incident_task table to deny creation of incident tasks after incident is resolved or closed.


Also, you can add omit new buttons with condition on incident task related list.



Regards,


Sachin


Thank you Sachin.   I don't want to use an ACL because that will deny the input after the user has entered data.   I've tried the List Configuration following Prasad's example below but now never see the New button.



Best regards,



John


Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

prasad48
Tera Guru

You can omit new button in related list "List control" Configuration


Omit new condition. Mention state vaues


if(parent.state== 'resolved' || parent.state== 'closed'){


answer = true;


}


else{


answer = false;


}


Thank you Prasad.   I think I've done what is necessary.   With this in place, the new button is always hidden.   Here's what I have set up.   Can you see what I've done wrong?



Best regards,



John



find_real_file.png


Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster