You can configure the basic details and the directional path of a workflow in the workflow editor using the built-in graphical tool.
To create a workflow, enter the following basic details:
After entering the basic details, you can start designing the workflow process in the Workflow Editor.
Configure the workflow
The Workflow Editor is provided with an expandable, scrollable canvas for creating workflow diagrams and a stencil panel. By default, the Submission and Close stages are present in the workflow and they are connected to the Start and End nodes. You can add more nodes to the workflow from the stencil panel.

The default view of a new Workflow Editor.
You can perform the following actions from the stencil panel:
icon on the top-left of the stencil to move the panel anywhere within the canvas.
or
icon on the stencil header to undo/redo any actions or transitions on the workflow data.
icon on the stencil to reset a new workflow to its default state. If the workflow was previously saved, it will be restored to its last updated state.
icon at the far right

The Stencil Panel
Nodes are workflow elements that define how a change workflow should be automatically processed. The stencil panel contains various nodes such as Stage, Condition, Switch, Notification, Approval, and Field Update. You can add a node to the canvas using a simple drag and drop motion. When you add a node to the canvas, a pop-up window opens, where you must specify the properties of the node.

An illustration on adding nodes to Workflow
Refer to the following pointers to understand the use of each node and how to learn how to configure it:
Stage - Add a change stage to your workflow.

You can configure notifications for each status added to a stage in the workflow. By default, the globally configured status notifications are not impacted by change workflows and continue to operate as configured under Admin. To override the notifications based on the workflow, hover over a status and click the
icon. Configure and save the notifications as required.
icon.
The number of input and output ports on the node depends on the number of statuses chosen.

Condition - Specify a condition to be met before the change proceeds to the next stage.
Enter a name for your node.
icon to add multiple criteria using AND/OR operators. You can drag a criteria over the indentation space below another criteria to add it as sub-criteria. Criteria containing sub-criteria are denoted with a drop-down icon.

Adding sub-criteria while configuring conditions
The condition node is rendered with a single input port and two output ports (Yes/No).

Switch - Switch is a multi-way branch node that refers to the value in a field and applies the workflow path based on the selected value.
Select the field to apply the switch condition.

Switch node is rendered with a single input port and N number of output ports based on the values selected.

Notification - Configure a custom notification for your change workflow.
Select an existing custom notification or add a new notification in the Notification Name drop-down. You can also edit the selected notifications using the
icon.


The notification node is rendered with a single input port and output port.

Approval - Add an approval level between stages and configure approval email notifications.
Enter the approval name.

The Approval node is rendered with a single input port and two output ports (Approved/Denied).

Field Update - Update a field value before it proceeds to the next stage in the workflow.
icon.
icon.

After you save/select a field update, the description will be auto-updated based on the field update details. Click Choose.

Field Update node is rendered with a single input port and output port.

To establish a connection between nodes, you must connect the output port of a node to the input port of another node.
Refer to the following screen video for a better understanding:

You can perform the following actions on the nodes and the connector:
icon.Use the zoom handle on the right corner of the canvas to view the graph in a large/small-scaled view. After configuring the workflow, click Save on the workflow header. ServiceDesk Plus will automatically validate your workflow before saving it. Descriptive warning messages are displayed to notify you if the workflow configuration contains errors.
On saved workflows, you can view the workflow properties, history and export the workflow graph as a PDF by clicking the
icon.
Workflows are validated based on the following rules:
If a configuration used in a workflow is updated in any admin configurations, the workflow becomes invalidated. Invalidated workflows are indicated with a
icon in the workflow list view. You cannot perform any operations on invalidated workflows, except edit or delete.
The Manage Stage and Status option allows you to choose whether to display all stages and statuses in change or only those included in the workflow.

