glyphox
How-to guides · 8 of 15Add an approval step

Documentation / How-to guides

Add an approval step

Build a workflow with a human task, a deadline and an escalation rule for overdue tasks.

Applies to Glyphox 1.0.10

Before you begin

  • A solution with at least one role, for example the Acme Service Desk sample.

Step 1: Create the workflow

Create a workflow and open it in the workflow editor. Drag nodes from the toolbox onto the canvas and connect their handles.

Step 2: Add a human task

Add a Human Task node. In Properties, set its Title, select an Assignee role rather than an individual, and set Due in (minutes).

The Ticket Escalation workflow with the Human Task node selected: Title, Assignee role and Due in (minutes) in its properties
A Human Task node and its properties.

Step 3: Add the escalation

A task becomes overdue when its Due in (minutes) has passed. Open the workflow's Settings in the editor toolbar and, under Escalation rules, choose Add rule. Set how many minutes overdue the rule applies after, then select an action to run, enter a role to reassign the task to, or both. Without a rule, an overdue task is not escalated.

The workflow editor's Settings menu: Instance SLA (minutes) and Escalation rules with the Add rule button
The workflow's Settings, where the escalation rules are added.

Step 4: Complete a task in the application

Human tasks appear in an inbox within your application. No separate approvals product is required.

What is recorded

Every instance has an audit trail whose first entry records what started it: a call from the application, a webhook, a schedule or an event. The workflow editor's Monitor shows running instances. If the server restarts, instances resume from where they stopped.

The Workflow overview, under Reference, explains how a workflow runs, and Workflow nodes lists every node and its properties. Add an AI step with sign-off, in this section, places an agent's proposal before the approval.

If a step fails, see Troubleshoot the first run or contact support.