Overview

When you have created a workflow, initially it only contains either an event node or a schedule node. The details of the node are displayed in the right hand panel. You can now begin to build the workflow by adding actions as additional nodes to the graph.

Adding actions

To build up your workflow you need to add actions to define the process that the workflow will execute. You should prepare the steps that are necessary to execute your workflow before attempting to use the workflow editor.

To add actions to your workflow:

  1. Select the root node, the details of the root node are displayed in the Item details panel, the General page is displayed by default.
  2. Select the button on the action bar. The workflow editor will display an adding button to the right of the root node.

Event root node

Schedule root node
  1. Select the icon, the Create action page appears on the left. The Action category panel is displayed by default.

    This panel has a tab bar that allows you to select other categories of actions. The actions that are available to you are dependent on the type of root node.

Event Root node actions

An event root node when triggered generates items based on a design that subsequent actions can act on, so the following are the actions available for an event root node:

alt text

Schedule Root node actions

A schedule root node only defines how and when the workflow is triggered. You need to add an action that either generates an output, such as a message or use a query to generate items based on a design that subsequent actions can act on. The following are the actions available for a schedule root node:

alt text

  1. When you have selected an action, for example a query, the node appears in the workflow editor and the details for the node are displayed in the item details page on the right. The General tab is displayed by default and may include fields that you need to complete for the action, or access to the AQS editor that allows you to create a query or filter.
  1. When you have completed configuring the action, you must select the Save button in the item details page to update the system with the node settings that you have configured.
Note

For details of how to configure each type of action, select the option from the menu at the bottom of this topic.

alt text

  1. The workflow editor is refreshed and the adding button is displayed to the right of the node that you have just created.
  1. Select the icon to create the new node, the Create action page appears on the left. The Action category panel is displayed by default.

    Use the tab bar to select other categories of actions. The actions that are available to you are dependent on the type of node that preceded the one you are currently creating.

    Terminating actions, for example, Message or HTTP Request limit the actions available in the same way as a schedule root node.

Creating a branch

The procedure described above allows you to create a linear workflow, where the actions are execute from left to right. Alloy allows you to create more complex branched workflows. In order to create a branch you must already have at least two nodes including the root node.

To add a branch to your workflow:

  1. Select the node where you want to create a branch, the details of the selected node are displayed in the Item details panel, the General page is displayed by default.
  2. Select the button on the action bar. The workflow editor will display an adding button below and to the right of the selected node. The action nodes previously created from the node you selected are moved up and form a branch.
  1. Select the icon, the Create action page appears on the left. The Action category panel is displayed by default. You can now repeat the procedure described above to add actions in the new branch, you can add multiple branches to any action node.