The Actions effect allows you to automatically run Actions when an automation triggers or recovers.
To set up an Actions effect, begin by opening the automation configuration wizard. On the Effects page, add an Actions effect; this will take you to the Actions effect configuration page. One Action will already be added by default under Configured Actions and will be displayed as Unconfigured
.
Starting with this unconfigured Action, you can begin configuring your Action. First, search and select the Action that you want to execute. The interface will display the parameters required by the selected Action, as shown in the image below. If the parameter type is supported, you can directly provide a value in the UI.
To add more Actions, select the Add Action button. This will add another tab allowing you to configure a new Action. Note that the execution sequence is not guaranteed when multiple Actions are configured; Actions may be executed in any order.
Some object set conditions expose effect inputs. These can be used in the Actions effect. To use condition effect inputs, the type of the Action parameter needs to align with the type of the exposed condition effect input. For example, if the condition monitors the Alert
object type, the Action needs to take an object reference parameter of object type Alert
.
The following conditions expose effect inputs:
The following effect inputs can be exposed:
In the example shown below, an objects added to set condition exposes an effect input for an object set of type Support Ticket
containing the Support Tickets
added. Given that the selected Close Support Tickets
Action expects an object set parameter of type Support Ticket
, the condition effect input New Support Tickets added
is a selectable option.
Note that object set and object list inputs cannot be combined with single object and property reference inputs, since the former includes multiple objects at a time and the latter includes one object at a time.
When effect inputs are used, an execution mode can be configured to determine how objects and actions should be grouped. The options available depend on whether the effect input is for a one affected object (for example, single object and property reference inputs) or multiple affected objects (such as object set and object list inputs).
The use of single object and property reference inputs means that each Action is executed once for each object from the condition. The execution of the Actions can be optimized by customizing the parallelization setting which changes the number of actions that are executed at a time.
The use of object set and object list inputs will mean that the Action is executed for multiple objects at a time. Changing the execution mode will modify how objects are grouped across Action executions. The following options are available for grouping objects:
Support Tickets
but expects them to belong to the same Category
, grouping by the Category
property will ensure that the Action is only executed for one Category
at a time. Note that the grouping is based on exact matches of property values. For array type properties, the values must be exact, in-order matches to be grouped together.You can configure multiple ways to handle a failed action, including a retry policy. Available retry policies include:
You can also configure the amount of jitter, which is a variation in delay time between retries to prevent simultaneous retries. Jitter can be specified as:
100 ms
and a factor of 0.25
, the retry delay would be between 75 ms
and 125 ms
.100 ms
with duration 20 ms
, the retry delay would be between 80ms
and 120ms
.Not all Actions are appropriate to use with Automate. You can disable an Action from being usable in Automate once you configure the action type in Ontology Manager. After creating an Action type, view its details by selecting the action type from the Action type list, then navigate to the Security & Submission Criteria tab in the left side panel. Then, find the Frontend consumers section and toggle off the switch that allows Automate to submit the Action.
Actions are associated with the owner of an automation. This means that the Action will be run on behalf of the owner of the automation. That requires that the owner configuring an Action must pass the submission criteria for that Action.
Actions run on behalf of a specific user (the owner of an automation), so an Action will no longer run if the associated user account is disabled or deleted.