Table of Contents

R101788 Case - Set State Change User

Code R101788
Entity Projects.Agile.Cases
Name SetStateChangeUser
Attribute AddedToBacklogByUser, SuggestedByUser, MarkedReadyByUser, StartedByUser, PutOnHoldByUser, ResolvedByUser, ClosedByUser
Layer Back-End
Events Commit
Record State Inserted, Updated
Priority Normal
Modify YES
Action On Insert:
Set the corresponding field to the current user according to the initial SystemState, following the logic described below

Оn Update:
If the System State field has been changed
, then set the corresponding field to the current user, following the logic described below.

If SystemState is BACKLOG, set AddedToBacklogByUser.
If SystemState is CONSIDER, set SuggestedByUser.
If SystemState is READY, set MarkedReadyByUser.
If SystemState is INPROGRESS, set StartedByUser.
If SystemState is WAITING, set PutOnHoldByUser.
If SystemState is RESOLVED, set ResolvedByUser.
If SystemState is CLOSED, set ClosedByUser.

The state change user fields cannot be set, changed, or cleared outside the logic of this rule.
Description The rule provides traceability of the users who move a case through the different system states of its lifecycle.
Message -
Version Introduced: v.XX
Revocable NO

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.