Event driven workflow allows administrators to associate a workflow template to a type of event (such as the creation, updating, or deleting of an object in the system) so that when an event occurs, the workflow is automatically executed and workflow tasks are assigned to the designated users.
In our use case, we are going to demonstrate how to deploy control review workflow to show how control owners can be assigned review tasks when the operating effectiveness of a control is changed.
Note: Event driven workflow requires workflow and event setup that should only be completed by a qualified administrator.
There are three steps the administrator must employ when enabling event driven workflow:
The event categories determine which object from which the event will occur. Workflow templates and associated event categories can be linked to the following objects:
Action Plans
Projects
Project Activities
Project Schedules
Project Testing Details
Project Work Papers
Checklists
Controls
Document Groups
Findings
Impacts
Incidents
Indicator Measurements
Objectives
Risk Event Categories
Risk Control Matrices
Risks
Tasks
Tests
Users
Administrators will need to setup event triggers and corresponding workflow templates to activate event workflow for the category values, as shown in the next step.
Within the event categories are the category values, which determine what type of event will trigger the workflow. There are pre-created category values that you can use, or you can create your own. For our use case, we have created the Operating Effectiveness Review category value within the Event - Control category, as shown below.
Once you have set up the event categories and values, you must then setup the trigger to enable the event. This is completed in the calculated fields screen.
Triggers are established by creating a calculated field for the object where the event will occur, selecting Event as the field name, then creating a rule definition that will trigger the event according to the specified criteria.
For our use case, we have:
Created a calculated field for the Control object type and set the field to "Event".
Created a rule definition where the event will be triggered when the Management Operating Effectiveness field is changed to Effective/Ineffective, and chose the Operating Effectiveness Review category value (created in the previous step) as the event value.
Note: For more information on creating rule definitions, see Configure a Calculated Field.
Created a workflow template called Control Review.
Within the template selected the Control object and assigned it to the Operating Effectiveness Review event value (created in the previous steps).
Assigned a review task to the Control Owner, which will be sent when the workflow template is deployed.
Result: When a user goes into a control form and updates the Operating Effectiveness field to Effective or Ineffective, the workflow template is triggered and a review task will be created for the Control Owner.