Using the All Tasks Closed Controller field
The All Tasks Closed Controller field is a system field that is enabled when all the tasks linked to a record (incidents, change requests, and problem) are closed. A system field is a field that is used in code and must not be shown on the layout of a form. This field is enabled by code and used in the following workflows:
- Notify change request owner when final task linked to change request is closed
- Notify incident owner when final task linked to incident is closed
- Notify problem owner when final task linked to problem is closed
An email message is sent to the owner of a record when all the tasks linked to a record are closed. Similarly, you can use this field in triggers, workflows, and so on as per your requirements.