Automations
An automation makes it possible to group and trigger actions within a workflow, giving them an organized, visual representation together with error handling. Actions that make up an automation are executed in order, from top to bottom.
Adding an automation
The entry point to an automation depends on where it needs to be triggered:
-
Workflow diagram — the arrow connecting two steps displays an automation icon; clicking it opens the Properties panel of the automation assigned to that transition. Each step also has its own "On entry" automation and "On completion" automation shortcuts, shown as icons in the corners of its block on the diagram.

-
Menu button — a form element added from the Form view via Add menu item → Menu button. Its configuration includes an Automation tab, where the automation triggered by clicking the button is defined.
-
Process automations — template automations created at the process level, available from the Definitions → Automations view. They can be embedded multiple times in other automations within the process — see List of process automations below.
Global automations, defined at the System configuration level and available for selection in every process, remain for now a feature of the desktop version of Studio.
List of process automations
The Automations panel in the process Definitions contains a search field, the two buttons described below, and the list of automations with the Name and Documentation columns. Hovering over a row reveals the Open configuration in full view icon and the Options menu.

- Add automation — button that creates a new process automation. The automation is created immediately, and its configuration opens in full view, with the automation schema described in the Automation schema — Definition and Automation schema — Error handling sections below.
- Add group — button for creating a group, used to organize automations on the list.
The Options menu next to an automation contains four items:
- Open configuration in full view — opens the configuration at full screen width, with an additional structure navigation tree on the left,
- Open configuration in the side panel — opens a shortened version in the docked Properties panel,
- Add automation — creates another new automation,
- Delete automation — deletes the automation.
Deleting an automation happens immediately, with no confirmation dialog.
Grouping process automations
The Add group button creates a folder for organizing automations on the list. Selecting a group and choosing Open configuration in the side panel from its Options menu opens the group's Properties panel with a GUID field and a Description field. The group's menu also makes it possible to add a new automation directly inside it (the Add automation command) or to delete the group (the Delete group command, also with no additional confirmation).
Basic tab
The following elements are shown above the tabs of the automation's Properties panel:
- Name — shown in the panel's title; edited by clicking the title.
- GUID — a non-editable, unique identifier of the automation, with a copy button.
- Active — a toggle that enables or disables execution of the entire automation. The toggle is not available for process automations.
The Basic tab contains the following fields:
- Documentation — an optional description of the automation, with the option to add translations (Translations button).
- Execution time limit — the time, in seconds (30 s by default), after which automation execution is aborted with an "Execution time exceeded" error. The time is counted from the start of automation execution and checked before entering every block of the automation (an action block or a process automation block).
For events triggered On Timer and Cyclically, the execution time is additionally controlled by the Number of seconds for operations performed by the service parameter, set in the desktop version of Studio under System configuration → Service configuration → Services → (service name) → Configuration. If automation execution exceeds the time configured at the service level, the automation is aborted immediately — in this case, the error-handling automation is not triggered.
Parameters tab
The Parameters tab makes it possible to parametrize an automation with three kinds of variables:

- Input — values passed into the automation from outside (e.g. from a parent automation in which this automation is embedded, or from an API call),
- Local variables — helper values, visible and used only inside this automation,
- Output — values the automation returns after it finishes executing.
Each of the three sections has its own Add button, which opens the New parameter dialog. A new parameter requires a name, an optional description, and a type:
- Text value — stores a character string,
- Decimal value — stores a number with a decimal part,
- Yes/No — stores a logical value,
- Date — stores a date (and time),
- User list — stores a list of users or groups.
All defined parameters and local variables are available in the business rule editor used within this automation (e.g. when configuring the condition of the Condition or SWITCH operator) — see Business rules.
Automation schema — Definition
In the Properties side panel, the automation schema is located on the Schema tab (next to the Basic and Parameters tabs). In the full view, the schema occupies the main area of the screen, and the Properties panel contains the Basic and Parameters tabs. A Definition / Error handling toggle is shown above the schema. The Definition view contains the automation's graphical schema: Start and End blocks connected by arrows, with actions and operators placed between them. To add another element, hover over an arrow and click the plus icon shown on it.

The Options menu ("⋮") is located next to the toggle. In a process automation, the menu contains only the Configuration command. In automations that are not process automations, the menu provides the Create process automation option, which saves the whole automation as a reusable process automation. The icon in the top-right corner of the Properties panel opens the automation in full view.
Action selection window
Clicking the plus icon on an arrow opens an element selection window divided into four tabs: Operators, Actions, Templates, and Automations.
The Actions tab contains actions grouped by topic — the full action catalog together with its configuration is described in the Actions article.
The Templates tab is used to pick an existing action template — described in the Action templates article.
The Automations tab lists other defined process automations (as well as the global automation, if one is defined in the System configuration) to embed in the current automation. The available set of actions depends on where the automation is triggered.
Operators
The Operators tab contains three elements that control the flow of an automation:
- Condition — routes the automation flow down one of two paths, depending on the result of a Yes/No (Boolean) business rule. Condition blocks can be nested to create more branches. Inside a condition, the End and Abort with error operators are additionally available, which end the automation early. The second one rolls back every event executed so far and runs the schema from the Error handling view.
- SWITCH — handles more than two flow variants. Described in detail in the next section.
- For each — executes the specified actions for every item of a collection, which can be an item list, a data source, the list of attachments on a workflow instance, or a collection returned by a business rule.
More information about the For each operator and its configuration can be found in this article on the WEBCON technical blog.
Configuring the SWITCH operator
A new SWITCH operator contains two cases by default, plus the ELSE case, which handles any value that does not match any of the other cases — it always occupies the last position. Each case's "⋮" menu makes it possible to add another case (a plus icon shown between the last case and ELSE), change its order (Move left / Move right), or delete it.

The whole operator has a single, overarching Condition — a business rule with its own rule editor, providing, among other things, logical and text functions, process and global business rules, and references to form fields, constants, and variables. To configure it, right-click the SWITCH header and select Configuration. The Condition's result indicates which case is applied — in two complementary ways:
-
A variable referring to a case — the Condition's result can be a reference to a form field, constant, or other variable inserted from the rule editor, combined with nested IF-THEN-ELSE blocks. In the example below, the Condition uses the system form field Workflow instance status to return one of three text values — "Approved", "Rejected", or "Pending" — matching the names of the cases configured in the operator.

-
A value assigned to a case — each case (except ELSE) can be assigned its own value, configured in the rule field shown in its column; in the example below, these are the "Approved" and "Rejected" values returned by the Condition above. The Condition's result is compared with these values from left to right; the first case whose value matches the result is applied. If none match, the ELSE case is used. An action can be placed under each case, including ELSE — in the example below, every case calls a Hyperlink action.

Automation schema — Error handling
The Error handling view, selected with the toggle above the schema, contains a separate schema triggered in three situations:
- an error occurs while executing an action in the Definition view,
- an Abort with error block is encountered,
- the execution time limit is exceeded.
In all these cases, actions executed in the Definition view are rolled back. The set of actions available in the Error handling view is more limited than in the Definition view, regardless of where the automation is triggered from.
