Automation. Script creation (templates)

Section "Automation"

Using the "Scripts" tab, you can create action chain templates for automating processes, such as onboarding and offboarding, as well as use available templates and create your own scripts.

warning icon
Creating, viewing, and managing scripts is by default available to users with Administrator and HR rights.

Script creation form

To create a script (action chain template), you need to click the "Create script" button.

After that, a creation form will open, where you need to specify:

  • Title - the name of the script (template);

  • Category - the category of the script (template), which allows filtering of the initiated action chains;

  • Description - a description of the script (template);

  • Launch - whether the action chains will be started manually or automatically under certain conditions;

  • Action Author - all actions will be created on behalf of this employee.

"Actions" Block:

  • New Step - a button for creating a new block where you can add actions that can be performed in parallel;

  • +Action - a button for creating a new action.

info icon
Actions within a single step can be performed in parallel. Actions from the next step will be assigned only after the actions from the previous step have been completed.

When creating an action, you need to fill out the corresponding form, where:

  • Invite an employee - after the invitation, the employee will receive a notification and see it as an event in the HURMA calendar and in their Google or Microsoft calendar (if the employee has connected the calendar integration);

  • Template - a field to select an action template (action templates are created in the "Settings" - "Actions" section);

  • Event name - a field to enter the action name in case the action is not based on a template;

  • Date - the date and time of the action;

  • Header in the calendar - the event title in Google, Outlook, and other calendars;

  • Link to video conference - a meeting isn't always necessary for the action, so to provide better understanding among all participants, you can remove the video conference link if needed;

  • General description - this field will be visible to all participants in the calendar and in the email invitation;

  • Hidden description - an internal field with a description for the author and responsible persons;

  • Files - a block for adding files;

  • Assignees - employees who should be assigned as responsible for this action.

Manual launch of the action chain

The process of manually launching action chains is described in the article "Automation. Assigning action chains to employees (manual launch)"

Automatic launch of the action chain based on a selected condition

The action chains can be launched automatically according to the conditions and criteria you have set.

Condition - what needs to happen for the action chains to be triggered;

Criterion - for whom the action chain will be launched.

"AND" or "OR" logic for criteria in a scenario

When adding multiple criteria, you can choose the logic by which they will be considered before launching the action chain. Two logic options are available: "AND" or "OR."

info icon
The "AND" or "OR" logic applies to all criteria added to the scenario.

"AND" logic means that all criteria must be met for the action chain to be triggered. For example, based on the screenshot above, this means that an employee profile must be created, the profile must indicate male gender, and the role of "Employee" must be assigned in the system. If these conditions are met, the action chain will be launched automatically.

"OR" logic allows the action chain to be triggered if at least one of the criteria is met. For example, if an employee profile is created and either male gender is selected or the role of "Employee" is assigned in the system, the action chain will be launched automatically.

Active and inactive scenarios

During the creation of a scenario, you can choose whether this scenario will be active or not.

Active Scenario – a scenario that is triggered automatically as soon as all the conditions and criteria specified in it are met.

Inactive Scenario – a scenario that does not trigger automatically, even if all the conditions and criteria in it are met.

info icon
For an active scenario, editing or deletion is not possible.
Did this answer your question?
😞
😐
😁