Skip to content

Workflow Management

Module: Workflow Management  |  Audience: Admin, Owner


Table of Contents


Overview

The workflow engine automates approval processes. When a user performs an action (for example creating an asset, requesting a transfer or disposal, inviting a user) and a matching workflow template exists, the action is held instead of being applied immediately: the system creates a workflow transaction holding the submitted form data, routes it through the configured approval levels, and applies the change only when the last level approves. If any approver rejects, nothing is applied.

Key Concepts:

Concept Definition
Workflow Template A reusable definition of when (Entity Type + Event Type + conditions) and how (approval levels) approvals happen
Condition A rule on a field of the submitted form that determines if the template applies
Approval Level A stage requiring approval from a role or a specific user before the workflow advances
Workflow Transaction A single running instance of a workflow for a specific submission (holds the form data)
Approval Task An individual approval assignment at a specific level

Sidebar: Workflow Management contains Workflow Templates, Approval Tasks and Workflow Transactions. Workflow Priorities, Workflow Analytics and Workflow Audit Trail exist but are reached by URL (not listed in the sidebar).

Permissions: template screens use view_workflow_template_scr / add_workflow_template_scr (the Edit screen also requires add_workflow_template_scr); approval-task and transaction screens use view_workflow_scr. Cancelling a whole workflow, and approving/rejecting a task you are not assigned to, requires the Override task (workflow override) permission.


Workflow Templates

Path: Sidebar → Workflow Management → Workflow Templates  |  URL: /workflow-templates

Configurable grid with search, column filters, sorting and Clear Filters. Add Template opens the create form. Row actions: View, Edit, Approvals (jumps straight to the approval levels of that template) and Delete. Delete asks "Are you sure you want to delete this workflow template? This action cannot be undone."

Template Detail (/workflow-templates/:id, titled Workflow Template Details) is read-only: Name, Description, Entity Type, Event Type, Assigned Roles (chips), Created By / Created At / Updated By / Updated At.

Creating a Template

Path: Workflow Templates → Add Template  |  URL: /workflow-templates/create (edit: /workflow-templates/:id/edit, button Update Workflow)

The form has four sections.

Basic Information

Field Type Required Validation
Name Text Yes Max 100 characters; must be unique per (Company, Name, Event Type, Entity Type) - a duplicate is rejected with a message on the Name field
Description Text Area No -

Workflow Configuration

Field Type Required Validation / Depends On
Entity Type Dropdown Yes Loaded from the system. Cannot be changed when editing
Event Type Dropdown Yes Filtered by Entity Type - select the entity first

Changing Entity Type or Event Type clears the conditions already entered (they are field-specific).

Role Assignment - multi-select of roles that can initiate this workflow (tooltip: "Select roles that can initiate this workflow"). Users who do not hold one of these roles will not trigger the template (Admins are exempt from the conditional check).

Workflow Conditions - the Add Conditions button is disabled until Entity Type and Event Type are chosen; see Configuring Conditions. Leaving it empty makes the template unconditional ("will trigger for all events of the selected type").

Click Create Workflow to save (the new template opens in detail view) or Cancel.

A template is inert until it has at least one approval level AND at least one assigned role. Templates missing either are skipped when the system looks for a match, so the action is applied directly without approval. After creating a template, always add approval levels (list row → Approvals).

Field Dependency: The available Event Types change based on the selected Entity Type. See Supported Entity Types & Event Types.


Configuring Conditions

Where: the Workflow Conditions section of the template form (also reachable as a standalone page at /workflow-templates/:id/conditions).

Conditions determine when the workflow is triggered. If multiple conditions are defined, all must be true (AND logic). The section shows Current Conditions (n) with edit and delete icons for each, and an Add Condition card:

  1. Choose a Field Type (text, number, date, dropdown, multi-select).
  2. Choose the Field (the list depends on the Entity Type/Event Type).
  3. The builder then shows the operator and value inputs that suit that field type; confirm to add the condition. Cancel discards the card.

Deleting a condition on an existing template removes it immediately; on a new template it is just removed from the draft.

Operators by field type (as offered in the builder):

Field Type Operators
Text Equals, Not Equals, Contains, Starts With, Ends With (plus Is Empty / Is Not Empty where the field allows)
Number Equals, Not Equals, Greater Than, Less Than, Greater Than or Equal, Less Than or Equal
Date Equals, Not Equals, After, Before, On or After, On or Before
Dropdown Equals, Not Equals, In, Not In
Multi-select dropdown In, Not In

Example Conditions:

Condition Meaning
Asset Category = "IT Equipment" Only trigger for IT assets
Purchase Value > 10,000 Only trigger for high-value assets
Location = "Headquarters" Only trigger for HQ assets

If a condition's field is not present in the submitted form data, the condition is treated as not met.


Configuring Approval Levels

Path: Workflow Templates → row Approvals  |  URL: /workflow-templates/:id/approvals (page title Approval Configuration: