Skip to content

This guide is for builders who want records to go through a process — a request that a manager approves, a ticket that moves from triage to resolution, a document that is reviewed before it is published. By the end you will be able to add a workflow to an entity, decide who acts at each step, route records with actions, send them back for changes, control which fields people see at each step, add time limits, and test the result.

Tutorial · Part 2 of 7The action’s confirmation dialogSkip the dialog where it only costs a click, and reword it where it matters · 2:29 · Recorded on OSOS 1.11.0-alpha.1 · About this video
Tutorial · Part 3 of 7Conditions on actionsShow an action only when it makes sense, and route a ticket by its content · 2:22 · Recorded on OSOS 1.11.0-alpha.1 · About this video
Tutorial · Part 5 of 7Ask the user for inputA button that asks for a value before it acts, and a comment a workflow action requires · 3:59 · Recorded on OSOS 1.11.0-alpha.1 · About this video

A workflow is the path a record follows from the moment it is submitted until the work is done. It is made of steps; each step has an owner (the person or team who must act) and one or more actions (the buttons the owner sees, such as Approve or Reject). Choosing an action moves the record to another step.

Take an Asset Request: an employee asks for a laptop. Their line manager must agree, then the IT team hands the laptop over.

flowchart LR
  A["Initial Step<br/>(the employee submits)"] -->|Submit| B["Manager approval<br/>(the employee's manager)"]
  B -->|Approve| C["IT fulfilment<br/>(IT Support group)"]
  B -->|Return| A
  B -->|Reject| D["Complete Step"]
  C -->|Delivered| D

A few things are always true:

  • Every workflow starts at an initial step and ends at a final step. When you add a workflow, both are created for you (named Initial Step and Complete Step); you add your own steps between them. The initial step is always owned by the person who created the record.
  • Steps are in order. That order is what “next step”, “previous step”, “first step” and “last step” mean when you route an action.
  • The usual route to the goal is the main path. Any other route — a rejection, a return for changes, a conditional detour — is a sub-path.
  • An entity can have more than one workflow; each appears as its own tab on the entity’s Workflows tab.
  1. Open the entity’s designer: Administration › Applications › Modules, open the module, open the entity, and edit it.
  2. Select the Workflows tab.
  3. Select Add A Workflow. A workflow named Main workflow is created with its initial and final steps.
  4. To rename it, open Workflow Settings and change Workflow Name.
  5. Select Save at the top of the designer.

To add a second workflow, select the + (Add Workflow) next to the workflow tabs. Clone Workflow copies an existing one; Delete This Workflow removes it.

  1. On the Workflows tab, select Create Step at the point in the flow where the new step belongs. The Create New Step dialog opens.
  2. Under Step Information, enter the step’s Name (in Arabic and English; 3 to 128 characters) and, optionally, a Description.
  3. Under Step Type, keep Normal for an ordinary review or approval step. (Sub-Workflow Step and External Step are described below.)
  4. In Main Action, choose where the step’s main action sends the record — usually Next Step under Relative Steps, or a specific step under Existing Steps.
  5. Select Return to add a Return action that sends the record back to the first step, and Reject to add a Reject action that ends the workflow. See Return for changes, or reject.
  6. Under Step Owner, choose who acts at this step — see Choose who acts at a step.
  7. Optionally turn on Timing to give the step a time limit — see Time limits and escalation.
  8. Select Done, then Save.

To change a step later, select it in the flow; its Step Settings open beside the flow. Use Duplicate to copy a step and Remove Step (or Delete This Step) to delete it. The initial and final steps cannot be deleted, but you can rename them and set their field rules. You cannot delete a step that another step’s action targets directly — change that action first.

Every step except the first and last needs an owner. In Step Owner, first choose the kind of owner — User, Group or List — and then where that owner comes from.

You want the step to go to…Set it up like this
One specific person (for example the HR manager)User, User Type Fixed, then pick the person in User Name.
The submitter’s managerUser, User Type Previous Step Owner, Step Name = the initial step (whose owner is the submitter). Turn on Relative, choose Relation Manager and Relation Grade 1. Use grade 2 for the manager’s manager.
A person named in the record (for example an Assigned to field)User, User Type Field, then pick the field in Field Name.
Whoever acted at an earlier stepUser, User Type Previous Step Owner, then pick that step in Step Name.
A team, such as the IT Support groupGroup, Group Type Fixed, pick the group in Group Name, then choose how the team shares the work (below).
The people in a listList, List Type Fixed, pick the list in List Name. The first person in the list is used.
Someone calculated by a formulaExpression as the source type. This is for advanced builders; the expression must return a user, group or list.

When a team owns the step, Select User Type decides how the work is shared:

  • Single User — one member handles it. In Choose Selection Type pick:

    • First one — the first member of the group is assigned automatically.
    • Take Ownership — nobody is assigned; any member opens the record and selects Take Ownership to claim it. Return to decides who gets the step if the record comes back to it later: the Group again, or the Last owner.
    • Org Unit Manager — the manager of the group’s organizational unit is assigned.

    Access Permission decides whether only the assigned person or every member can see the step.

  • All Users — every member must act. Multi Assignment Type chooses Sequential (one after another) or Parallel (all at once). Then set the group decision:

    • Main Action Execution Condition All users — the record moves on with the main action only if everyone chose it.
    • Some Users — the record moves on once enough members chose the main action: set Proceed Threshold Type (Fixed Number) and Proceed Threshold (for example 2 of 3). Action On Failure chooses what happens when the threshold is not reached — for example Most Chosen Secondary Action, Return or Reject.

Fallback Assignment. If the owner might not be found — the submitter has no manager recorded, a field is empty, a group has no active members — the platform tries a backup. Whenever the owner is anything other than one fixed person, the designer adds Fallback Assignment 1 for you and requires it. Fallbacks are tried in order; end the chain with one specific person (User, Fixed).

Two more options sit under the owner:

  • Enable Reassign lets the current owner hand the step to someone else.
  • Allow Adhoc step lets the owner insert an extra step on the fly — for example to ask a colleague for an additional approval or more information. The record waits there, then returns to this step automatically.

Each step needs at least one action (except the final step). The main action is created with the step; to add more, select Create Action on the step. In Action Settings:

  • Name — the button label people see, such as Approve or Send to IT.
  • Default Target — where the record goes: a relative step (First Step, Previous Step, Current Step, Next Step, Last Step) or a specific step from Existing Steps.
  • Expression based target — route to different steps depending on the record, for example send requests over a certain amount to a director. Select Add Conditional Step, write a condition and pick its Target Step; conditions are checked in order and the first one that is true wins. If none is true, the default target is used.
  • Main Action — marks the action as the step’s main (happy-path) action. A step can have only one.
  • Show Confirm Action Dialog — asks the owner to confirm before the action runs. Action comment status sets the comment box in that dialog to Optional, Required or Hidden; Custom dialog title and Custom dialog message change its wording.
  • Show Message — shows a message after the action runs.
  • Conditional Visibility — shows the action only when a condition on the record is true.

Most approval steps need a way to say “not yet” and a way to say “no”:

  • The Return checkbox in Create New Step adds a Return action that sends the record back to the first step, so the submitter can correct it and submit again. To send it back one step instead, open the action and set Default Target to Previous Step.
  • The Reject checkbox adds a Reject action that sends the record to the final step, ending the workflow.

Rename either action — for example Return for changes — and set its Action comment status to Required so the owner must explain why.

Ask for identity confirmation before an action Since 1.10

Section titled “Ask for identity confirmation before an action Since 1.10”

For sensitive decisions — approving a payment, signing off a contract — you can make the owner confirm who they are again before the action runs. In Action Settings, turn on Require step-up verification before execution. Leave the expression empty to always ask, or write a condition to ask only for some records (for example only above a certain amount).

Good to know:

  • The setting is per action, so Approve payment can ask while Request more information does not.
  • People confirm with a code from their authenticator app, or a one-time code by text message or email; the account password is used only when none of those is set up. A passkey cannot be used for this — tell your users so.
  • If several records are selected and the action is run on all of them, one confirmation covers the whole selection.
  • If your condition has an error, the platform asks for confirmation rather than skipping it. Test the condition before you publish.
  • Administrators acting from an admin page and automatic actions (reactions) are not asked.

What the person acting sees is described in Verifying your identity before an action runs.

At every step you decide how each field behaves. Open the step’s Requirements, and for each field choose a View Option:

View OptionEffect at this step
HiddenThe field is not shown.
LockedThe field is shown but cannot be changed.
EditableThe field can be changed. This is the default.
MandatoryThe field must be filled before the record can move on.

For the Asset Request: at the initial step Asset type and Reason are Mandatory; at Manager approval they are Locked and Manager comment is Editable; at IT fulfilment Serial number is Mandatory.

Good to know:

  • The final step and sub-workflow steps have no field rules of their own. A field that is Hidden at the steps a record passed through stays hidden after it is rejected or completed.
  • Each person sees the rules of the step they own, or of the last step they acted on; anyone else sees the rules of the record’s current step.
  • A view set to Edit entry as admin or View entry as admin lifts the field rules only for people who take no part in the current step. The step’s owner still gets the step’s rules there.

To make sure a step does not wait forever, give it a time limit (an SLA):

  1. Open the step and turn on Timing.
  2. In Timing Schedule, choose the working-hours schedule to count against, so weekends and holidays are not counted. Schedules and holidays are set up by your tenant administrator — see Timezones, workshifts & time monitoring.
  3. Choose the Time Unit (Minutes, Hours or Seconds).
  4. In Timing method, choose Fixed Value and enter the Value, or take the limit from a field (Field Value) or an Expression — for example a shorter limit for urgent requests. Fallback Value is used if the field or expression gives no number.
  5. Select Done, then Save.

Each monitored step is tracked as Pending, Achieved or Overdue. To escalate a breach, add a reaction on the entity’s Reactions tab with the event On Time Exceeded for that step — for example, notify the owner’s manager and re-notify every few hours. See Reactions & automation and Reacting to breaches. Recipe: Escalate a step that runs late.

You cannot turn Timing off while a reaction uses it; remove or change the reaction first.

If several processes share the same stage — a standard budget approval, say — build it once as its own workflow on the entity and call it from a step:

  1. Create the shared workflow on the same entity (it needs its own initial and final steps).
  2. In the main workflow, add a step with Step Type Sub-Workflow Step.
  3. In Target Workflow, choose the shared workflow, and in Merge Step, choose where the main workflow continues when it finishes.

A sub-workflow step has no actions of its own: the record moves on automatically when the shared workflow reaches its final step. Its first step is owned by whoever owned the sub-workflow step. If you set a time limit on the sub-workflow step, it covers the whole time the record spends inside the shared workflow.

Hand a step to an external system Since 1.8

Section titled “Hand a step to an external system Since 1.8”

An External Step sends the owner to another system — an e-signature service, a payment page, a partner portal — and the record moves on only when that system sends the person back. The owner cannot complete the step by clicking a button in the portal.

In the step, set Step Type to External Step, then fill in URL, Method and Open As. The owner must be one specific person. Put the return link in the URL with {{@returnUrl}} (or {{@returnUrl:actionId}} when the step has several actions; each action shows its Action Id to copy). The external system’s developers will need the external step contract.

Open As decides how the owner reaches the external page: Full Screen, Iframe (inside the record), Sidebar, Dialog, or Popup Window. The mobile app supports only Full Screen and Iframe and opens the others full screen, so choose one of those two if the step must look the same on both.

Before you share the application:

  1. Save the entity. An entity has no publish step; the views people use to reach its records must be published.
  2. Sign in as a test user — or ask a colleague — and create a record.
  3. Check that the record lands with the owner you expected, and that the owner sees the actions you configured in their Inbox or on the record.
  4. Try every route: approve, return, reject, and any conditional route.
  5. Check the field rules at each step: hidden fields are hidden, mandatory ones are enforced.
  6. If you added a time limit, use a short value (a few minutes) while testing and watch the step become Overdue; restore the real value afterwards.

Preview mode lets you check forms and views without creating real records. What owners do at run time is described in Executing workflow actions.

  • Rules checked when you save: a workflow has at least two steps, starts with the initial step and ends with the final step; every step except the final step and sub-workflow steps needs at least one action; a step has at most one main action; a sub-workflow step needs a target workflow and a merge step, and no actions; step names and workflow names must be unique.
  • Changing a workflow that already has records in progress can require those records to be upgraded. The designer tells you when a change is breaking.
  • Two people acting at once. If two people act on the same record at the same moment, only the first action counts; the second person is told the record changed and should reload it. Reactions run once.
  • If an owner cannot be found and no fallback works, the record cannot move to that step. Always end the fallback chain with a specific person.
ProblemWhat to check
The workflow is marked This workflow is invalidA step has no main action (Main action is missing), a sub-workflow step has no target or merge step, or a name is duplicated.
A step cannot be deletedAnother step’s action targets it directly. Point that action somewhere else first.
The record goes to the wrong personCheck the owner settings and the Fallback Assignment chain. For “the submitter’s manager”, check that the submitter’s manager is recorded in the organization structure.
Nobody sees the stepWith Take Ownership, the step is unassigned until a member claims it — check the group’s members and Access Permission.
Timing cannot be turned offA reaction uses this step’s time limit. Remove or change that reaction first.
People are asked to confirm their identity unexpectedlyThe action’s step-up condition may contain an error; a broken condition always asks.

Worked example: a two-step expense approval

Section titled “Worked example: a two-step expense approval”
  1. Initial Step — “Submitted”. Owned by the person who submits the expense. Main action Submit → Next Step.
  2. “Manager review”. Owner: User, Previous Step Owner = Submitted, Relative on, Relation Manager, Relation Grade 1; fallback: the finance manager. Actions: Approve (main action) → Next Step; Return → First Step, with Action comment status Required. Timing: 2 working days (Time Unit Hours, Value 16 against an 8-hour working schedule).
  3. Complete Step — “Approved”. No owner needed.
  4. Escalation. A reaction on On Time Exceeded for Manager review notifies the manager’s manager (or reassigns the step to them).
  5. Several reviewers instead of one (optional). Make Manager review a Group step with All Users, Parallel, Main Action Execution Condition Some Users and Proceed Threshold 2, with Action On Failure Most Chosen Secondary Action.

Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27