Extending Evidence Processing

The purpose of an evidence hook is to support the extension of an evidence sub-pattern with custom functionality. Hooks are provided for inserting, modifying, and removing evidence. A hook is also provided for applying evidence changes.

Evidence hooks can be used to raise workflow events and trigger workflows. For example, the remove evidence process could include an evidence hook which raises a workflow event. This event could trigger a workflow process instance which sends a notification to a caseworker when an active evidence record has been flagged for removal by another user. Each time an active evidence record is flagged for removal, the workflow event would trigger a new instance of the workflow in order to notify the relevant caseworker.