Workflow Rules (automated rules in Assure that execute an outcome when a record or action meets defined criteria) are a tool for system administrators to define advanced rules that allow automation of aspects of processes not covered by the default Organisational Unit-based assignment and approval processes. This article provides a conceptual overview of how Workflow Rules function in Assure (Evotix's health, safety, and risk management platform). It covers what Workflow Rules are, where they are managed, how to set them up, how rules are applied and ordered, what the Workflow Rules Log messages mean, and answers to common questions.
Watch our Lunch & Learn webinar to find out more about Workflow Rules:
Prerequisites
Before Workflow Rules can be created or executed, the following conditions must be met.
Permissions
System Configuration
- Enable approval at system level Go to Settings > System Settings and ensure that Is Approval Used is checked.
- Enable approval at module level Go to Settings > Module Setup, edit the Incident Record settings and ensure that in Approvals, Is Approval Used? is checked.
Important Timing Note
Please go to the article: ‘How to set up Workflow Rules’ for a step-by step guide in setting up a rule.
What are Workflow Rules
- Different approvers should be used depending on incident severity, for example for a high-severity vs low-severity incident.
- Different approvers should be used depending on incident type, for example for an environmental incident. Workflow Rules should be used to complement the standard approval and assignment process.
Workflow Rules should be used to complement the standard approval and assignment process.
Check out this article on how to configure approval setting per module.
Where are Workflow Rules Managed
Workflow Rules can be accessed through System Settings by system administrators, where they will find two options:
- Workflow Rules Management: Here you create new rules or edit existing rules.
- Workflow Rules Log: Here you can monitor the outcome of a rule after it has been executed.
Navigation path: Settings > System Configuration > Workflow Rules Management
These options are only available to system administrators after the Supervisor Privileges have been updated.
Initial Set Up and Permissions
Step 1 - Enable Workflow in System Settings
Step 2 - Enable Workflow in Module Settings
Step 3 - Update Supervisor Privilege
Important: To use Workflow Rules, you must have the workflow enabled both in System Settings and for the module. After enabling the settings, you will immediately be able to create Workflow Rules. However, the system takes 120 minutes to recognise an update to this configuration, so if you enable the approvals process, please wait 120 minutes before expecting a rule to be executed. This delay only applies at initial set-up.
Check out this article about Supervisor Privileges
How Rules Work
How Workflow Rules are Applied
1. Rules run in sequential order by default
- Rule 1: A rule has been set up to assign any property damage incident to George the Building Manager.
- Rule 2: Another rule is set up to assign any high severity incident to Steph the Health and Safety Manager.
- Rule 1 was set up before Rule 2.
- If a property damage incident is logged as high severity, the incident will be assigned to Steph, the Health and Safety Manager, as Rule 2 is the most recent rule. It is possible to reorder rules, which will change the sequence in which they run. Rules run from top to bottom. This is useful if you need to add new rules or change the sequence of existing rules.
2. Rules are not reversed
- John is the manager of Site A. He is set up to be assigned incidents logged at his site as he must investigate them. He investigates most of the incidents which occur on his site.
- However, if an incident is high severity, this must be investigated by Steph the Health and Safety Manager, so a rule can be set up to assign high severity incidents to Steph.
- If the incident is later reclassified as medium severity, a rule needs to be in place to assign the incident to John, or alternatively Steph can reassign the record manually to John.
3. Workflow Rules take priority over default workflow approval settings
- Auto-assign a record based on default approval settings
- Manual assignment of a record in Assure or on AssureGO+
- No assignment
4. Allow manual override of Workflow Rules
- Allow override of rule outcome assignee: Ticking this box will give your users the option to override any Workflow Rules.
- Allow override of rule outcome approver: This allows users to change an approver before submitting the record, that may differ from the Workflow Rule.
- If the user selects the box Override workflow rule for assignee field, no Workflow Rules will be applied, and the record will remain with the user who has been manually selected.
- If the user does not select the box, the system will check for any Workflow Rule and apply those, reassigning the record to the user allocated in the Workflow Rule.
Workflow Rules Log: Messages
Successful Execution Messages
- Outcome executed for rule {RULE NAME}. Designated approver set for record {MODULE} - {RECORD REF}.
- Outcome execution for rule {RULE NAME} was successful. Assignee and Approver changed for record {MODULE} - {RECORD REF}.
- Outcome executed for rule {RULE NAME}. Assignee stayed the same but due date was changed for record {MODULE} - {RECORD REF}.
- Outcome executed for rule {RULE NAME}. Assignee set for record {MODULE} - {RECORD REF}.
Error Messages and Resolutions
| Error Message | Resolution |
|---|---|
| Outcome execution for rule {RULE NAME} was unsuccessful. Module or approval system is not enabled for {MODULE}. | Check that the approval process is enabled in the Incident Record module. |
| Outcome execution for rule {RULE NAME} was unsuccessful. Configured user does not have permissions to become the approver for record {MODULE} - {RECORD REF}. | Check the permission for the user selected as the approver in the rule. The permission to approve records may have been removed from that user. Either update the user permissions or select a new user as the approver in the rule. |
| Outcome execution for rule {RULE NAME} was unsuccessful. Designated approver is the same in record {MODULE} - {RECORD REF} as configured in rule. | No action needed. The correct approver was already applied. |
| Outcome execution for rule {RULE NAME} was unsuccessful. Configured user does not have permissions to be assigned to record {MODULE} - {RECORD REF}. | Check the permission for the user selected as the assignee in the rule. The permission to be assigned records may have been removed from that user. Either update the user permissions or select a new user as the assignee in the rule. |
| Outcome execution for rule {RULE NAME} was unsuccessful. Assignee is the same in record {MODULE} - {RECORD REF} as configured in rule. | No action needed. The correct assignee was already applied. |
| Rule {RULE NAME} should have executed an outcome. The approvals process was turned off when this record was created. Record {MODULE} - {RECORD REF} will need to be manually assigned to allow outcomes to be executed. | The approval process was not turned on when the record was created. Manually assign the record so it enters the workflow. Rules will then be able to execute against the record. |
| Outcome execution for rule {RULE NAME} was unsuccessful. Record {MODULE} - {RECORD REF} is already {Approved}. | An approved record was edited and met the criteria of a rule based on edit. The rule will not allocate an assignee or approver as the record is already set to Approved. |
| Outcome execution for rule {RULE NAME} was unsuccessful. Internal processing issue. | Check that all approval processes are enabled and that the rule is set up as expected. If the error persists, contact Evotix Support including the error message. |
FAQs
AI Metadata
- Product Area: Workflow Rules Management, System Configuration, Approval Workflow, Incident Record
- User Role: Assure System Administrator (requires Manage Workflow Rules Supervisor Privilege); users with System Log view access
- Tags: Workflow Rules, Workflow Rules Manager, Workflow Rules Log, Approval Workflow, Assignee, Approver, Rule Ordering, Override Workflow Rule, System Configuration, Incident Record, Supervisor Privilege, Automation
- Version/Region: All Assure versions; all regions
- Important Synonyms: Workflow Rules Manager = Workflow Rules Management; Assignee = Submitter = person assigned to investigate; Approver = designated approver; Raised By User = user who created the record; Override Workflow Rule = manual override; Rules Engine = Workflow Rules Manager; Approval Process = Approval Workflow
- Suggested Embedding Keywords: how do workflow rules work Assure, workflow rules overview Assure, workflow rules log messages, workflow rules permissions Assure, workflow rules manager setup, how are workflow rules applied, workflow rule order Assure, override workflow rule Assure, workflow rules error messages, workflow rules 120 minutes
- Relevant Modules and Cross-Module Implications: Workflow Rules are accessed via Settings > System Configuration and apply to the Incident Record module for Record Rules. The Approval Manager aggregates records from all modules. The Workflow Rules Log is accessible to users with Manage Workflow Rules or System Log permission. The default Org Unit-based approval process interacts with and is overridden by Workflow Rules when matching criteria are met.