R39411 Case - Closed Only If Tasks Completed
| Code | R39411 |
| Entity | Projects.Agile.Cases Entity |
| Name | ClosedOnlyIfTasksCompleted |
| Attribute | SystemState |
| Layer | Back-End |
| Events | Commit |
| Priority | Normal |
| Modify | NO |
| Action | If System State is changed to 'CLOSED'
Validate that: All Tasks connected to that Case are Completed. |
| Description | The rule ensures that only cases whose Tasks are completed can be closed. |
| Message | Invalid system state change.
You cannot close this Case because there are still open Tasks linked to it. Please complete all related Tasks before closing the Case. |
| Version | Introduced: v.26.2 |
| Revocable | YES |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.