Adding and Removing Items
Adding and Removing Items
Creating and updating a Workflow involves adding items to, and removing items from, the Workflow panel. Items can be either Nodes, Transitions, or Transition Names. Typically you add Nodes and then connect them with Transitions. You can configure your Nodes and Transitions by assigning names, descriptions, and other configuration details.
Adding a Node
To add a Node to the canvas, follow these steps:
1) Convert to Select Mode: This is the default mode, which you can use to select items from the Workflow panel and add them to the canvas.
2) Select a Node from the Workflow panel. Begin with a Start Node, as every Workflow must have exactly one Start Node.
3) Click once anywhere on the canvas where you want the new Start Node to appear, and the Node is placed on the canvas.
4) Configure the new Node by providing a name, a description, and any other options available. Although the Workflow Designer automatically creates a name, it is a good idea to create a more meaningful name.
Note: If you add an Action or Task Node to the canvas, you must also select a configuration from the Configuration tab. In the example below, you can see configuration selected for an Ingest node.
Note: You can also assign a configuration to an Action or Task Node, or delete the Node by right-clicking on the Node when it is selected.
Adding a Transition
Once you have more than one Node on your canvas you can add a Transition to link the two Nodes together. Adding a Transition is a two step process where you first click on the start Node and then click on the end Node.
Note: It is important to consider how your Workflow will be launched at this stage of your Workflow design. For example if this is a Workflow that will be launched as a User Job or embedded in another Workflow, then you should not add an Ingest Action.
To add a Transition to the Workflow canvas, follow these steps:
1) Click on the Transition button, either in the Control Panel or in the Workflow Panel.
2) Click once on the Node you would like the Transition to start from. This disables all Nodes that do not currently support being linked to from the start Node. This will help you identify which Nodes are available for you to connect your transition to.
3) Click and drag the transition arrow to the Node you would like the Transition to end at.
4) Once you've added your Transition, revert to Select mode and select your new Transition by clicking on it. Alternatively, you can press your Esc key.
5) Configure the new Transition by adding a name and an optional description. Although the Workflow Designer automatically creates a name, it is a good idea to create a more meaningful one.
Note: You can switch back to Select Mode at any time by pressing the escape key.
Note: If a Transition has a name, it is displayed next to the Transition on the canvas. The Transition Name can be highlighted in its own right and dragged around to make it more readable. If you delete this item, then the name belonging to the Transition is set to null.
Note: When assigning a name to a Node or a Transition, you cannot set a name that is the same as an existing Node or Transition in this Workflow.
The approach to removing items from the Workflow canvas is the same for all item types (Nodes, Transitions and Transition Names).
1) Convert to Select Mode. This is the default mode and allows you to highlight items on the Workflow canvas.
2) Click once on a Node, Transition or Transition Name.
3) Click the Delete button in the Control Panel.
4) The item is removed from the Workflow canvas.
Note: You can also delete any highlighted item (Node, Transition, Transition Name) by right-clicking on it and selecting Delete from the menu.
Note: If you delete a Node, then all Transitions and Transitions Names directly connected to it are also deleted.
Note: You can also delete highlighted items by pressing the Delete key.