Understanding the workflow editor
Workflows can now be created using a graphical editor
Workflows are a powerful automation tool within Alloy. You can build workflows within Alloy using the workflow graphical editor, which provides you with a visualization of the steps within the workflow. The editor allows you to select any step within the workflow and edit the process.
The workflow editor
When you create a workflow you are presented with workflow editor in the centre of your workspace. The editor provides you with a graphical view of your workflow.
A newly created workflow contains only the root node icon. An event type workflow icon is dependent on the design or interface type that it is based on.
A schedule type workflow displays the standard schedule icon .
The root node for an event workflow always has three trigger icons associated with it to indicate how the event is triggered.
Trigger icons only apply to event type workflows.
|Create item, this triggers the workflow when an item is created.|
|Edit or update item, the workflow is triggered when an item is edited or updated.|
|Delete item, the workflow is triggered when an item is deleted.|
The icons are dimmed if the triggers are disabled. You can change the state of the triggers by editing the workflow root node.
The right panel displays the details for the selected node. When a node is selected it has a halo around it, initially this is the root node. The root node has three tabs that you can view and edit, see editing workflows.
- General - you can enable or disable the node.
- Logs - you can view and examine the run logs for the workflow.
- Trigger - you can view and edit the triggers and workflow details. Schedule triggers differ from event triggers, but can also be edited within the tab, see Editing schedules.
Action node types only have a General tab and it is greyed out to indicate that other options are not available.
Workflow action nodes
The workflow process is defined by a set of action nodes, which define a sequence of actions. A work flow is executed from left to right, starting with the root node. A newly created event workflow displays only the root node icon with the trigger icons, see creating a workflow.
Schedules are a special type of workflow and when you create a schedule from the Activities card additional nodes are included by default, you can edit or update a schedule workflow. You can also create schedule workflows from the Workflow card.