Dynamic Evidence Lifecycle

Dynamic Evidence, unlike Non-Dynamic Evidence, has an associated lifecycle. Whereas Non-Dynamic Evidence Types are always in effect Active, Dynamic Evidence can be in an number of other states. This section discusses the Dynamic Evidence Lifecycle from two perspectives; the Dynamic Evidence Type lifecycle, and the Dynamic Evidence Type Versions lifecycle.

The Dynamic Evidence Type lifecycle is simple and has only two possible statuses internally: ' Active ' and ' Canceled '. The management of these is handled by the system, and is effectively hidden from the user. When a Dynamic Evidence Type is created it is automatically given a status of ' Active ', and only Active Dynamic Evidence Types are available for use as Case Evidence.

Deleting a Dynamic Evidence Type changes its state to Canceled , i.e. The Dynamic Evidence Type is not physically removed from the EvidenceTypeDef entity. However, all related generated artifacts are physically deleted from the system. Canceled Dynamic Evidence Types cannot be reactivated, and are filtered out by the administration and case worker workspaces.

Dynamic Evidence Type Versions have a different lifecycle which includes more states, and at all times the state is visible to users and clearly identifies what actions can be performed on each Dynamic Evidence Type Version:

InEdit
The initial status assigned to a Dynamic Evidence Type Version when it is created is that of ' InEdit '. This status indicates that the Version has not yet been completely specified, and that it is still available for modification.

No Case Evidence records in respect of ' InEdit ' Versions can be created, and indeed Versions with this status have no impact on the runtime case worker application. A Dynamic Evidence Type is restricted to having zero or one ' InEdit ' Version at any point in time.

Finally, an ' InEdit ' Version can only be deleted or activated.

PendingActivation
Activating a Dynamic Evidence Type Version changes its state to 'PendingActivation '. This is a temporary state to allow time for generation and publishing of Rulesets. At the end of this process the Dynamic Evidence Type Version status is automatically changed to ' Active '.

After activating a Dynamic Evidence Type Version, users may or may not see the 'PendingActivation ' status, i.e. It is possible to immediately see the Dynamic Evidence Type Version status go to 'Active' . This depends on the time taken to generate and publish CER Rulesets, and also the time to refresh the administration page after activation. If a status of ' PendingActivation ' is displayed, the administration page will not refresh automatically when the state is internally changed to ' Active '. In this case, users will need to manually refresh the administration page to reflect the change of status; this can be done using the Refresh button on the Dynamic Evidence Type List Page.

Note: The Activation process for Dynamic Evidence Type Versions uses Cúram Deferred Processing, which is asynchronous in nature. In case of failure, this deferred process changes the status of the Dynamic Evidence Type Version from ' PendingActivation' back to 'InEdit' . In this case, the administrator will be shown a red exclamation mark on the Dynamic Evidence list page item which will link to a dialog box showing the reasons for the failure during Activation.
Active
The ' Active ' state indicates that a Dynamic Evidence Type version is now 'live', and that it can be used to maintain Case Evidence in the case worker workspace. As mentioned earlier, for a Dynamic Evidence Type to be available to be linked to a Case Type, it must itself have a status of ' Active ' and also have at least one Dynamic Evidence Type Version which has a status of ' Active '.

Once in this status, Dynamic Evidence Type Versions can only transition out of this state by being deleted.

Canceled
When a Dynamic Evidence Type Version is deleted in the Dynamic Evidence Type List Page, its status is changed to ' Canceled '. This status marks the end of life of the Version. Like Dynamic Evidence Types, Versions are not physically deleted from the EvidenceTypeVersionDef entity. Canceled Versions can no longer be used in either in the administration or case worker workspace, nor can they be recovered.