Workflow automation: templates, assignments, approvals and monitoring

Design approval templates, attach them to record types and actions, work the approval inbox, delegate, automate follow-up actions and monitor bottlenecks.

On this page

Process at a glance

  1. Design a templateProcess ownerA template with steps, approvers and routing exists.
  2. Assign itAdministratorThe template is linked to a record type and scope.
  3. Bind module actionsAdministratorEach module action has a workflow or proceeds immediately.
  4. Decide approvalsApproverItems are approved, rejected, returned or delegated.
  5. Cover absencesApproverA substitute sees your approvals while away.
  6. Trigger automationAdministratorAn HTTP call, email or integration flow fires when a template resolves.
  7. MonitorProcess ownerBottlenecks and instance status are reviewed.

#Purpose and scope

Workflow automation is the shared approval engine used by other modules. This chapter explains how to build a template, connect it to the records that need approval, handle the approval inbox and watch running work. Document publishing and many voucher types use it, so a mistake in a template affects every record type that uses it.

#Before you start

  1. Create the user roles that will approve (see “Roles and access”); approver steps point at a role (approver group).
  2. Know which record type or module action needs approval. Record types and their codes come from Administration.
  3. Decide who may edit templates. Anyone who can edit templates, steps and rule sets changes approval routing for the whole company.

#1. Design a template

  1. Open Templates and create a template with a code, name, description, Active flag and a trigger.
  2. Choose the trigger: Automatic when a record is submitted, Manual (run on demand) or Scheduled (a condition sweep with an interval of at least 5 minutes, an entity to scan and a JSON condition).
  3. Choose Design to open the designer. Add steps, drag to reorder, and click a step to edit it. Switch between canvas and linear views.
  4. Use Copy to duplicate a template, or the play button to run an active template now regardless of its trigger; the new run appears under Instances.
Step settings in the designer
SettingWhat it does
TypeApproval, Review, Notification or Condition. A Condition step is a decision node: it is evaluated automatically and has no approver.
Approver resolutionFixed group, the requester’s manager, a role read from a payload field, or a user read from a payload field. It is resolved when the step is entered.
Required, PriorityMarks the step required; priority is Low, Medium, High or Critical.
Auto-approve (days)Approves the step automatically after that many days.
SLA and escalationSLA days, escalation days and an escalation group.
Notifications and delegationNotify on entry, notify on overdue, allow delegation, and the entry and overdue email templates.
Step owner permissionsModify record, add, edit or delete documents while the step is current.
On rejectionRestart (back to step 1), Go to a chosen step, or End the workflow.
Conditional branchingBranches are checked top-down after approval; the first match wins, otherwise the workflow goes to the next step. A branch can go to the next step, a specific step, approve and finish, or reject and finish. Use Match ALL or Match ANY with comparisons such as equals, greater than, contains, in list, between, is empty or matches regex.

#2. Reuse rules with rule sets

  1. Open Rule sets and create a rule with a code, name and kind: Condition (boolean tree) or Decision table (rows to outcome).
  2. Enter the definition as JSON. A branch can then reference the rule set instead of an inline condition.

#3. Version a template

  1. In the designer choose Publish version and confirm. The current version is archived and new instances use the new version.
  2. Use Make active on the Versions list to switch back to an earlier version.

#4. Assign templates to records and actions

  1. In Assignments link a template to a record type (or All Record Types), choose the scope (System, a project group or a project), set Effective From and Active.
  2. In Action workflows each module action is listed by module with a drop-down of templates. Pick one to bind it, or choose No workflow so the action proceeds immediately. The counter shows how many actions are configured.

#5. Work the approval inbox

  1. Open My approvals. The tabs are Mine, My Team and, for superusers only, All.
  2. Add a comment, optionally attach files, then choose Approve, Reject or Return. Return sends the item to the previous step; it is refused on the first step.
  3. Choose Delegate to hand the current step to another user (the user is required, a comment is optional). Delegation is refused unless the step allows it.
  4. Delegations sets out-of-office cover: delegator, delegate, effective from and to, reason and Active. While active, the delegate also sees the delegator’s approvals.
Instance statuses
StatusMeaning
PendingCreated, not yet on a step
In progressWaiting on the current step
ApprovedFinished and approved
RejectedFinished and rejected
CancelledCancelled

#6. Automatic follow-up actions

  1. In Automation actions choose a workflow template, when to fire (Approved, Rejected or Both) and the action type: HTTP call, Email notify or Integration flow.
  2. Enter the configuration as JSON, for example the URL, method and body template for an HTTP call. The list shows the last run status and time.

#7. Monitor and recover

Monitoring screens
ScreenUse
InstancesAll executions with template, record type, status, current step, who started it and when.
AnalyticsWhere in-progress work is piling up: pending count, average and maximum wait in hours per workflow step.
Saga monitorCross-module saga state and step history. Only failed or compensating sagas can be retried.
Deleted logsRecover deleted workflow instances. Superusers only.

About this guide

Status
Partially reviewed
Application
BSuit ERP
Audience
Process owners, administrators and approvers
Owner
BSuit documentation team
Reviewer
Not yet reviewed
Last verified
Never
Checked against
Generated from source revision a36c7a086 on 2026-10-02
Seen on a running system
Not yet
Help version
2026.0.0-preview
Guide ID
erp:article/guide/workflow-automation
Need more help?If feedback above cannot be sent, email support and quote guide ID erp:article/guide/workflow-automation.
Email support