- 09 Jan 2024
- 2 Minutes to read
- Print
- DarkLight
- PDF
Selecting and Configuring the Workflow Trigger
- Updated on 09 Jan 2024
- 2 Minutes to read
- Print
- DarkLight
- PDF
Each Workflow is triggered by an Event (default) or Action. This section describes how to select and configure the Workflow trigger.
Selecting the Trigger
To select and configure the Workflow trigger
In the Workflow pane, near Triggered by:, select the type of trigger:
- Event (the default) - An Event node is the first component in the Workflow structure on the left pane. The Event pane opens on the right.
- Action - An Action node is the first component in the Workflow structure on the left pane. The Action pane opens on the right.
Select and configure the trigger node:
- For a trigger Event node, see Configuring the Trigger Event Node.
- For a trigger Action node, see Configuring the Trigger Action Node.
Changing the Trigger Type
You can switch between trigger types Event and Action so long as you haven't yet configured the trigger node.
Once you have configured the trigger node, when you attempt to change the trigger type, the following warning is displayed:
- Once you have configured a second node in the Workflow, the Trigger type buttons - Event and Action, become disabled. Hovering over either of these buttons displays the message: Switching trigger is disabled as it will break workflow logic. You can always create a new workflow.
Configuring the Trigger Event Node
An event can come from a third-party system or from inside Axonius when there is a change in your asset pool.
Learn about the supported Workflow Events.
To configure the trigger Event node
- In the Event pane, select and configure an event for the trigger Event node. The selected event is displayed in the top Event node of the workflow.
Configuring the Trigger Action Node
The following procedure describes how to select and configure the action trigger, and define the assets on which the workflow will run. When the Workflow is complete, at any time you can trigger the Workflow by clicking Save and Run in the Action Setup screen of the action trigger.
You select (not add) a triggering action.
- In the Action pane, select an action for the trigger node. The selected action is displayed in the top node (Action) of the workflow.
- In the Action Setup drawer that opens, under Run workflow on assets matching following query, define on which assets the Workflow will run:
- From the Module dropdown, select a module/asset type.
- From the Query Name dropdown, select a predefined query from the list or click + Add Query to create a new query using the query wizard. To learn more about creating a new query, see Adding a New Query.
- Configure the Action.