Workflow Editor

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.

 

Stencil Panel Actions 

You can perform the following actions from the stencil panel:

 

The Stencil Panel

Configure Nodes 

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.

 

Statuses with notification override enabled are indicated with a 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.

 

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.

 

 

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.

 

 

 

 

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.

 

 

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

 

 

You cannot add approvals/approval levels to the change details page if a change workflow is associated with the change request.

 

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

 

 

 

 

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

 

Connect Nodes 

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:

 

 

The connection arrow is referred to as Connector.

 

Node Actions 

You can perform the following actions on the nodes and the connector:

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.

Validate Workflow

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.

 

Only validated workflows can be saved.  

Customizing Stage and Status Visibility in Changes

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.
 

A sample workflow: