Create and manage workflows
Add workflows to a site, a site group or the company, build their steps, and keep them up to date.
To change workflows, you need the permissions to create, update or delete workflow templates. Company-wide workflows (Global Workflows, Managed Workflows, Workflow Templates) also need the company permission to manage global entities; without it, you can only view them. See Role permissions.
Add a workflow
To add a workflow to a site, go to Sites, open the site and click the Workflows tab. For a site group, open the group's Group Workflows tab; for the company, go to Company › Global Workflows.
- Click + next to the workflow tabs. On an empty list, click Add Workflow.
- Choose how to start. See the table below.
- In Name, enter a name. It must be unique in this list.
- If you like, add instructions for the operator (manual workflow) or a comment for other admins (automated workflow).
- For an automated workflow, select Execute in Background if the workflow should run alongside and still send the alarm to an operator.
- Choose when the workflow starts: Default (manual workflows only) or Specific Alarms, and add conditions. See Set the start conditions.
- Click Create.
The new workflow opens in the editor, with the Incoming Alarm step already in place.
| Option | What it does |
|---|---|
| Manual Workflow | Starts an empty workflow that an operator works through |
| Automated Workflow | Starts an empty workflow that evalink talos runs on its own |
| Link | Links one managed workflow to the site (sites only). See Link managed workflows to a site |
| Link (Multiple) | Links or unlinks several managed workflows at once (sites only) |
| Copy | Copies a workflow from this list. The copy gets " 2" after the name, and any link to a managed workflow is removed |
| Import | Creates the workflow from an exported file. See Export and import a workflow |
| Add from Template | Creates the workflow from a company workflow template. See Add a workflow from a template |
You decide at creation whether a workflow is manual or automated, and whether it's the default. You can't change either later. Each list can have only one default manual workflow, so Default is unavailable when one exists.
Build the steps in the editor
To edit a workflow, open its list and click the workflow's tab. The editor shows the step tree on the left and the settings of the selected step on the right.
- Hover over the step after which you want to add a step, and click +.
- Choose a group: Manual Actions, Manual Decisions, Automated Actions, Automated Decisions or Other Steps, and then the step. An automated workflow offers only automated steps.
- Fill in the step's settings on the right. A decision step creates one branch per answer; add the follow-up steps under each answer.
- Click the save button (disk icon) at the top right.
The step types and their settings are described in Manual steps and Automated steps.
More ways to work in the editor:
- Move or delete a step: use the arrow and delete buttons on the step.
- Copy, cut and paste: right-click a step, or use Ctrl+C, Ctrl+X and Ctrl+V. Ctrl+click selects several steps of the same branch as one block. You can paste into another workflow, too.
- Undo and redo: use the undo and redo buttons, or Ctrl+Z and Ctrl+Shift+Z.
- Expand and collapse: click + or - on a step. Shift+click expands or collapses the whole branch.
- Auto-save: in the more menu (⋮), click Enable Auto-Save to save changes automatically.
- Simple and advanced settings: in the more menu, switch between Simple Settings and Advanced Settings. Simple hides the event log, PDF, priority and attached-alarm settings and the advanced step fields.
- Full screen: click the Full Screen button above the editor.
- Assistant: where available, click Show the assistant to ask the evalink assistant to change the workflow. Its changes appear in the editor and stay unsaved until you save.
A tab with unsaved changes shows a badge. If steps are invalid, the badge shows how many, and you can't enable the workflow until you fix them.
With Advanced Settings on, every step except Incoming Alarm also has a Custom Report Template (what the step writes in the PDF report), a Workflow Outcome (see Set an outcome on a step) and a Step Reference (the name later steps use to read this step's result, for example {{ myStep.remark }}). See Text templates (Pebble).
Set the start conditions
Start conditions decide which alarms the workflow handles. To set them, open the workflow and select the Incoming Alarm step.
- Under When all of ..., click Add Condition and pick a condition. All conditions here must match.
- Under And one of ..., add the conditions of which at least one must match.
- For less common conditions, open More in the Add Condition menu.
- Enter the value of each condition. To match everything except that value, click the invert icon of the condition.
- Save the workflow.
An alarm matches when it meets all conditions of the first group and at least one of the second. An empty group doesn't restrict anything, but a workflow needs at least one condition unless it's the default.
The common conditions check the alarm type, alarm code, zone, partition, event and a schedule. Under More you find, among others, conditions on the day of the week, the time of day, the severity, the site group, the alarm payload and a free expression. For expressions, see Alarm expressions and object IDs.
The day-of-week and time-of-day conditions use the time zone of the browser of the person who saved the condition, not the site's time zone. Check this when a workflow starts at the wrong local time.
On a linked managed workflow, the conditions come from the managed workflow. To use your own conditions on this site, select Custom conditions on the Incoming Alarm step. Clear it to go back to the managed workflow's conditions.
Settings of the Incoming Alarm step
The Incoming Alarm step also holds the settings of the whole workflow. Some appear only with Advanced Settings on.
| Setting | Type | What it does |
|---|---|---|
| Instructions / comment | Both | Text shown to the operator (manual) or a note for admins (automated) |
| Prevent parallel executions | Automated | New matching alarms join the running workflow instead of starting a new run |
| Execute in Background | Automated | The workflow runs alongside, and the alarm still goes to an operator |
| Outcomes | Manual | Which outcome list the operator chooses from when closing |
| Attached Alarms | Manual | Which new alarms of the site join this workflow while it's open |
| Event Log | Both | Whether the event log is kept and the PDF report emailed |
| Both | Whether the PDF report includes all steps or only steps with a custom report template | |
| Priority | Automated | Normal or High. High-priority workflows start sooner when the site is busy and may run beyond the normal limit of parallel automated workflows per site |
The values of Outcomes, Attached Alarms, Event Log and PDF are explained in Change the settings of a single workflow.
For group and global workflows, the mode appears under the workflow name (with Advanced Settings on, and when the company doesn't run multiple automated workflows): Run if no local workflow is available or Run instead of local workflow. Click it to change it. See Site, group and global workflows.
Rename, disable or delete a workflow
To rename a workflow, open it, click its name at the top left, type the new name and save.
To disable a workflow, open it and click Disable in the more menu (⋮). A disabled workflow stays in the list with its name struck through and doesn't handle alarms. To turn it back on, click Disabled under the name and then Enable, or click Enable in the more menu.
To delete a workflow:
- Open the workflow and click Delete in the more menu.
- In Confirmation, type
delete. - Click Confirm Delete.
Deleting a linked managed workflow on a site only removes the link. Disabling or enabling a managed workflow itself affects all linked sites, and you can delete it only after unlinking it from all sites.
Export and import a workflow
To export a workflow, open it and click Export to File in the more menu. evalink talos downloads a JSON file named after the workflow.
To import it into another list:
- Click + next to the workflow tabs, and click Import.
- Click Choose file and select the JSON file.
- Check the name and the other fields, and click Create.
You can also drop the file onto the workflow tabs, but then the check below is skipped.
With Import, contacts, contact lists, roles and schedules that don't exist in the new place are removed from the steps. If a step loses its contact, the workflow is created disabled. Fix the steps and enable it.
Restore an earlier version
evalink talos keeps the earlier versions of each workflow. To see them, open the workflow and click Version history in the more menu.
- Select a version in the list. View shows it; Difference compares it with the current one.
- To go back to it, click Restore selected version.
You can also name a version, to find it again later. For a linked managed workflow, open the history on the managed workflow itself.
Replace a workflow for a period
An override is a temporary version of a workflow that runs instead of it between two dates, for example during holidays.
- Open the workflow and click Override Workflow (clock icon) at the top.
- Enter From and To, and submit.
- The editor switches to the override. Change its steps and save.
The original workflow's tab shows a schedule badge. Use the clock button to switch between the original and its overrides, or click Add Override for another one. Click the date range of an override to Edit Override or Remove Override. An override keeps the start conditions of the original. Managed workflows themselves can't have overrides, but a site can override a linked one.
Test a workflow
To try a workflow without a real alarm, open it and click Test Workflow (bug icon) above the editor. The button is unavailable while the workflow has errors.
A test panel opens below with the current workflow, including unsaved changes. Work through it as an operator would. Automated steps don't run during a test; they show Unavailable while Testing. Click Continue, or Skip and select next step on an automated decision, to move on.
The test calls nobody, saves nothing and writes no event log. Click Close Test Window to end it.
Link managed workflows to a site
First create the managed workflow on Company › Managed Workflows, or on a site group's Managed Workflows tab for the sites of that group. You add and edit it like any other workflow.
To link it to one site, go to Sites, open the site and click the Workflows tab.
- Click +, and click Link.
- In Managed Workflow, select the managed workflow.
- Keep Specific Alarms (Managed) to use its conditions, or choose Specific Alarms to set your own.
- Click Create.
To link or unlink several at once, click Link (Multiple), switch the managed workflows on or off, and confirm. Switching one off removes it from the site.
To link a managed workflow to many sites, open it and click the Linked sites link under its name. Use the link and delete buttons next to each site, or Link All and Unlink All. All, Linked and Missing filter the list.
A linked workflow shows a link icon on its tab. Its steps can be changed only on the managed workflow; click the managed workflow's name under the title to open it.
Add a workflow from a template
To create a template, go to Company › Workflow Templates, click Add Workflow Template, and build it like any workflow.
In the steps, you can use variables written as ${Name}. Click the Variables button above the editor to describe each variable, so the person who uses the template knows what to enter.
To use a template on a site or site group:
- On the Workflows or Group Workflows tab, click +, and click Add from Template.
- Select the template.
- In Copy Workflow Template, enter a Workflow Name and a value for each variable.
- Submit the dialog.
The site or group gets its own copy, which you can change freely. Later changes to the template don't affect it.