How do I get a handle on Tasks to check if there any open tasks before closing the incident
Content
Everytime the status of the incident is set to closed, before incident save, I want to check (from Agent Console) if there are any open tasks associated with that incident. If there any open tasks, I want the agent to get a message asking them to close that task before closing the incident and should prohibit the user to close the incident till they close all open tasks associated with the incident.
Is there a sample code I can use to have this done?
Thanks in advance
Version
18D.
Tagged:
0