How workflows work
Understand what a workflow is, where workflows live, and how evalink talos picks the workflow that handles an alarm.
What a workflow is
A workflow is the procedure evalink talos follows when an alarm comes in: who to call, what to ask, which checks to run, when to send an email. You build it once as a tree of steps. Decision steps split the tree into branches, so the procedure can react to the answer of a question or the result of a check.
There are two sides to a workflow:
- The workflow you configure: the steps, the start conditions and the settings. You build it in the workflow editor. This page and Create and manage workflows are about this side.
- The running workflow: one run of that procedure for one alarm on one site. An operator works through it, or evalink talos runs it on its own. How operators handle a running workflow is described in Handling alarms.
Every workflow starts with the Incoming Alarm step. It holds the start conditions and the settings of the whole workflow. You can't remove, move or copy it.
An alarm always belongs to a site, so a workflow always runs for one site, even when you configure it for a site group or for the whole company.
Manual and automated workflows
When you create a workflow, you choose its type. You can't change the type later.
| Type | Icon | What it does |
|---|---|---|
| Manual Workflow | Person | An operator works through it. evalink talos guides the operator step by step. It can contain manual and automated steps. |
| Automated Workflow | Cloud | evalink talos runs it on its own, without an operator. It contains only automated steps. |
An automated workflow normally handles the alarm itself. If you select Execute in Background, it runs alongside instead: it does its job (for example, calls an external system) and the alarm still goes on to an operator. Background workflows always run when their conditions match. They don't compete with other workflows.
For the steps you can use, see Manual steps and Automated steps.
Where workflows live
You configure workflows in several places. Each place has its own list of workflows, shown as tabs.
| Where | Go to | What it holds |
|---|---|---|
| A site | Sites › site › Workflows | The site's own workflows, and managed workflows linked to the site |
| A site group | Site Groups › group › Group Workflows | Workflows for all sites in the group and in its sub-groups |
| A site group | Site Groups › group › Managed Workflows | Managed workflows that sites in the group can link |
| The company | Company › Global Workflows | Workflows for all sites of the company |
| The company | Company › Managed Workflows | Managed workflows that any site can link |
| The company | Company › Workflow Templates | Templates you copy to create new workflows |
Company-wide settings for all workflows are on Company › Settings › Workflows. See Workflow settings and event logging.
An organizational unit is also a site group. Its group workflows apply to every site below it, including sites in nested site groups.
Site, group and global workflows
A site's own workflows are local. Group workflows and global workflows are both global: they apply to many sites at once, so you don't have to repeat the same procedure on every site.
Each global workflow has a mode that says how it relates to the site's own workflows:
| Mode | Label in the editor | Effect |
|---|---|---|
| Fallback (default) | Run if no local workflow is available | Runs only when the site has no local workflow for the alarm |
| Override | Run instead of local workflow | Runs even when the site has a local workflow for the alarm |
To make one global workflow fit many sites, use roles in its steps instead of fixed contacts, schedules or statuses. Each site then fills in its own contact, schedule or status for the role.
Managed workflows and workflow templates
Both help you reuse one procedure on many sites. They work differently:
- A managed workflow is a shared model. It doesn't run on its own. You link it to sites, and every linked site follows its latest version. When you change the managed workflow, the change applies to all linked sites. On the site you can't change its steps or settings; you can only give it its own start conditions.
- A workflow template is a starting point. When you add a workflow from a template, the site or group gets an independent copy. Later changes to the template don't affect the copy, and you can change the copy freely. A template can have variables, which you fill in for each copy.
Use a managed workflow when all sites must stay the same. Use a template when each site needs its own adjustments.
Which workflow handles an incoming alarm
When an alarm comes in, evalink talos collects the workflows that could handle it: the site's own workflows (including linked managed workflows), the group workflows of every site group above the site, and the global workflows. Disabled workflows are skipped.
It then checks each workflow's start conditions against the alarm:
- Background workflows whose conditions match all run.
- If the company allows multiple automated workflows, every matching automated workflow runs.
- Otherwise evalink talos picks one local and one global workflow. In each group, the first workflow whose conditions match wins. If none matches, the default workflow of that group is used.
- A global workflow set to Run instead of local workflow wins over the local one. Otherwise the local workflow is used. A global workflow set to Run if no local workflow is available is used only when there is no local one.
The order is: the site first, then its site groups from the nearest up, then the company. Within one place, Override workflows come before Fallback ones, the place's own workflows before linked managed workflows, and then the order is alphabetical. The order only decides between workflows that match. A nearer default never beats a farther workflow whose conditions match.
Automated workflows start on their own. A manual workflow found this way is assigned to the alarm, which waits in the alarm queue until an operator opens it. The operator can also pick a different workflow.
If the wrong workflow runs for an alarm, compare the start conditions of the candidate workflows and check which site groups the site belongs to.
Default workflows
A default workflow catches the alarms that no other workflow matches. Only manual workflows can be defaults. In the workflow list, a default workflow shows (Default) after its name.
Each site, each site group and the company can have one default manual workflow. You decide when you create a workflow whether it's a default; you can't switch it later.
What an outcome is
An outcome is the result a workflow ends with, for example "Police dispatched" or "False alarm". It appears in the event log and decides who receives the PDF report. A workflow gets its outcome from a step you preset, or from the operator, who picks one from an outcome list when closing a manual workflow. Outcomes and outcome lists are defined company-wide. See What workflow outcomes and outcome lists are.