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

Mention state values   6 for resolved and 7 for closed


I tried that and still no joy.  



I added parent.state to the list display and tried using the words as displayed in mixed case and comparing all lower case after parent.state.toLowerCase() still no joy.  



I suspect that there is something really simple/stupid that I'm missing 'cause normally ServiceNow works very easily.



Thanks for sticking with me.



John


Hope that helps.

:{)

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

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


Thank you Prasad.



The only difference I can see is that you are showing List edit type = --None-- and I have Save immediately.   Where it gets screwier is that I don't have the none option.   I went in to configure the dictionary and it has the right setting Dropdown with --None--.   In between I've cold booted my computer and tried using Firefox (our default is IE) all with the same result.   I think it's time for a trip to HI.



I'll let you know what, if anything, I find.



Best regards,



John


Hope that helps.

:{)

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

Hi Prasad,



The answer is that the setup and code you showed are correct.   It looks like a NULL_OVERRIDE value for the first list control option was wreaking havoc.   I have things working now even without checking the no new button option!



Thanks again for all your help.



John


Hope that helps.

:{)

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