The Graph tab is where you define how steps of your workflow are ordered, by dropping nodes and pulling transitions between them. If you hover over a node, an Edit button will be displayed. It allows you to edit the properties of the node, in a multi-tab pop-up.
Two kinds of nodes are available, one creates a user task, the other is automatic (the workflow engine goes over it and immediately follows the output transitions).
On the left side menu of the graph tab, you will find the items below:
- Resize graph editor: It is possible that your graph does not fit in the default allocated design area. Click on Resize graph editor to make it larger. A Reduce size button will be added in a future version of Nuxeo Studio. Click on Discard changes to go back to the current size.
- Clear graph: Beware, this button will delete all your graph after a warning.
- Node library: Lists different pre-configured nodes. You can drag'n'drop and modify them in the design area.
|Node||Creates an automated task ran by the workflow engine according to an input and an output automation chains.|
|Accept/Reject||Creates a node with two transitions: accept and reject.|
|Approve||Creates a node and an approve transition.|
|Multiple Tasks||Creates a task that has to be fulfilled by every assignee. The workflow is resumed only when all tasks created by this node are completed.|
|Simple task||Creates a task that can be fulfilled by any of the assignees.|
|Fork 2 ways||Creates two transitions from one node.|
|Fork 3 ways||Creates three transitions from one node.|
|Merge||Merges two transitions into one output node.|
|Start||Creates a starting node. Only one starting node must be inserted in the workflow.|
|Stop||Creates an ending node. Stops the execution of the workflow.|
|Sub workflow||Calls another workflow in the workflow. The main workflow is suspended while the sub workflow runs, and resumes when the sub workflow ends.|
For more information on sub workflows, see Sub workflow example.