What is a workflow

Learn how blocks, paths and runs fit together.

A workflow is the process a record follows once it's submitted: who reviews it, what they can decide, and where the record goes after each response. Every tool with approvals runs its records through one, and the same workflow engine runs them all.

Blocks and connections

A workflow is a diagram of blocks joined by connections. Each run follows one path through it, from the Trigger to an End block.

Two kinds of block ask a person for something:

  • Decision: people choose an outcome, such as Approve or Reject. Each outcome has its own connection to the next block.
  • Task: people do something, then select Complete.

The other blocks run on their own:

  • Trigger: starts the run, usually when the record is submitted.
  • If and Switch: choose a path from a value on the record.
  • Set status: changes the record's status.
  • Notify: sends an email. A decision or task needs no Notify block to reach its own people: Teralo emails them when the step starts.
  • Wait and Wait for condition: pause the run for a time, until a date, or until a condition is met.
  • End: finishes the run and records its outcome.

Learn more about each block in the workflow builder.

Templates and runs

A workflow is saved as a template in a tool's settings. A run is one record's pass through a template. A run keeps the blocks and connections the template had when the run started, so editing the template changes new runs only. Learn more about templates and runs.

The workflow strip

A record in a workflow shows a strip of chips below its title:

  • the trigger, such as Submitted;
  • each step completed on the path so far;
  • the current step;
  • the steps expected next.

Only steps that ask a person for something get a chip, plus a Wait while the run is waiting on it. Completed steps are green, the current step is blue, upcoming steps are grey, and skipped steps are red. An amber chip shows the latest rejection, or Workflow needs attention when the run has stopped.

When an If or Switch block lies ahead, the strip ends with a chip such as 2 paths. Point at it to see each path, with the one the record would take today marked As things stand.

Point at a chip to see who the step is waiting on, who will respond to a step still to come, or when a step was completed and with what outcome. Select a chip to open the record's approval history.

A workflow chip strip on a permit, with a completed step, the current decision and an upcoming step, and a peek on the current chip naming who it is waiting on.
View at full size
A permit's workflow strip at its Approve permit decision, with a peek naming who the step is waiting on.

Rejections

A rejection is an outcome like any other, and the workflow decides where it goes:

  • Back for revision. In the default permit workflow, a rejection sets the permit's status, notifies the submitter, gives them a Revise and resubmit task, and returns the permit to the same decision once the task is complete.
  • To an End block. The run finishes. In the default submittal workflow, a rejection ends the run, and the next revision starts a new one.

Tools that use workflows

Workflows run on progress claims, PO invoices, contract execution, variations, direct costs, procurement recommendations, tender packages, submittals, incidents, site diary entries, timesheets, observations, method statements, safety data sheets, equipment, bookings, inductions, inspections, permits and passive fire.

A record can't be submitted until a workflow is bound to its tool and the people on the workflow's Specific people steps are picked on the project. Learn more about binding a workflow to a tool.

Submit a record for approval

Before a record starts its workflow, Teralo shows where it will go. This happens whenever a workflow starts: when you submit, create, issue or resubmit a record.

  1. Select the button that starts the workflow, such as Submit.
  2. Check the dialog, such as "Submit DC-031 for approval?". Under Where it goes, it lists each step and who responds to it, and under Who gets emailed, who Teralo emails.
  3. Select the button again to confirm, or Cancel.

Nothing is sent until you confirm. A workflow that goes straight to its end says the record is approved as soon as you submit.

If a Specific people step has nobody picked on the project, the dialog reads, for example, "DC-031 can't be submitted yet" and names the step. Host staff with Can manage project tools see Pick people: they choose the people in the dialog and save, and the dialog then shows where the record will go. Anyone else selects Close and asks the host. When a workflow is ready, the same host staff see Change people.

Learn more about picking the people for a project.

Who builds workflows

The host organisation builds workflows and binds them to tools, at organisation level and on each project. Guests act on the steps a workflow gives them, except on procurement, direct costs and contract approvals, but can't build or bind workflows. Learn more about approving and rejecting.