R37343 Case - Create History Case Development
| Code | R37343 |
| Entity | Projects.Agile.Cases Entity |
| Name | CreateHistoryCaseDevelopment |
| Attribute | SystemState, AssignedToUser, Description |
| Layer | Back-End |
| Events | ClientCommit |
| Record State | Inserted, Updated |
| Priority | Normal |
| Modify | YES |
| Action | On Insert: Create a new CaseDevelopment record where DevelopmentType = Create, NewSystemState = Case.SystemState, AssignedToUser = Case.AssignedToUser, Description = Case.Description If the Case.Description field has a value , then Case.Description = NULL On Update: If the System state field has changed , then create a new CaseDevelopment record where DevelopmentType = State change/STH and NewSystemState = Case.SystemState If the Assigned To User field has changed , then create a new CaseDevelopment record where DevelopmentType = Assignment/ASH and AssignedToUser = Case.AssignedToUser If the Description field differs from null and the Assigned To User has not changed , then create a new CaseDevelopment record where DevelopmentType = Edit and Description = Case.Description If Description field differs from null and the Assigned To User has changed , then create a new CaseDevelopment record where DevelopmentType = Assignment/ASH and Description = Case.Description If the Case.Description field has a value , then Case.Description = NULL |
| Description | The rule ensures that the history of creation, state changes, assignments, and the addition of new descriptions for a given case will be tracked by creating new case developments containing this information. |
| Message | - |
| Version | Introduced: v.25 |
| Revocable | YES |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.