Workflows

Introduction to workflows in ConSol CM

Workflows are used to model business processes in ConSol CM. This includes both modeling and designing the process from a logical point of view and implementing the process in a technical object. Workflows hold all information about the process flow, exceptions and interrupts.

Concepts, terms and definitions

Concept

Other terms

Definition

business process

process

Procedure used in an organization to perform certain tasks

workflow

 

Technical representation of the business process

queue

process

Instance of the business process; links the used workflow to the stakeholders, i.e., the involved contacts and users

contact

customer

Person who has an interest in the outcome of the business process

case

ticket

Object which runs through a process and records the performed tasks

role

 

Definition of the responsibilities of the users by providing access permissions to objects and functions

interrupt

 

Interruption in the process caused by a trigger or a scope activity. After the interrupt, the case returns to its previous position in the process.

exception

 

Change in the process flow caused by a trigger or scope activity. After the exception, the case continues the process from its new position.

Purpose and usage

A workflow implements a specific process, i.e., the actions and decisions which are required for handling the customer requests. Each request is modeled as a case, where the request data, progress and involved people are stored. The degree of flexibility when working on a case depends on the workflow design. You can either define fixed paths which a case can take or use scope activities to allow certain actions at any point of the process. In both cases the case starts the process at the start node and ends it at the end node.

It is possible to represent process chains by linking several workflows using jump in and jump out nodes.

Interrupts and exceptions in the process are modeled using triggers, which allow the process to react to external incidents.

Workflows are assigned to queues, which determine the process stakeholders, i.e., the users who work on the tasks and the contacts who are interested in the process outcome.

Basic process logic

The following basic principles apply to ConSol CM processes:

Loops are not detected when saving or deploying a workflow. They cause an InfiniteWorkflowLoopException on runtime.

Available settings for workflows

Workflows have the following settings:

Available workflow components

There are two kinds of workflow components:

The following table shows the workflow elements:

Element

Icon

Description

Execution

Link

Scope

Scopes are used to group workflow elements to define the status of the cases which are located within the scope at this moment.

n/a

Scopes

Start node

The start node is the entry point to the process for the cases.

Automatic

Start nodes

End node

End nodes are the end of the process. Once a case reaches an end node, it is closed.

Automatic or manual

End nodes

Activity

Activities are steps in the business process. There are three types of activities:

  • Manual activity:
    Activity available at a certain process step which can be executed by a user

  • Automatic activity:
    Activity available at a certain process step which is executed automatically once it is reached

  • Scope activity:
    Activity available in a certain scope which can be executed by a user

Automatic or manual

Activities

Reopen activity

Reopen activities can be used to reopen a closed case.

Automatic or manual

Reopen activities

Decision node

Decision nodes allow to route cases according to a defined condition.

Automatic

Decisions

Jump-in node

Jump-in nodes are entry points for cases from other queues.

Automatic

Jump-in and jump-out nodes

Jump-out node

Jump-out nodes are exit points for cases which pass to another queue.

Automatic or manual

Jump-in and jump-out nodes

Note

Notes are used to document the workflow.

n/a

Notes

The following table shows the adornments:

Adornment

Icon

Description

Link

Time trigger

A time trigger is an interrupt which occurs when a certain time period has passed. Time triggers can be attached to scopes and activities.

Time triggers

Email trigger

An email trigger is an interrupt which occurs when an email is received for a case. Email triggers can be attached to scopes.

Email triggers

Event trigger

An event trigger is an interrupt which occurs when a certain action or change has occurred for a case. Event triggers can be attached to scopes.

Event triggers

Activity form

Activity forms can be attached to activities. They define the form which the user has to fill out to execute an activity.

Activity forms

Usage of scripts

Scripts can be used in many places of the workflow to fine-tune the behavior of the workflow components and add logic to the process.

Most of the workflow elements can have two types of scripts:

Adornments can have different types of scripts according to their purpose.

Basic tasks

Managing workflows

Workflows are managed in the first tab, called All workflows, of the Workflows page of the Web Admin Suite. The following actions are available:

Using the workflow editor

The workflow editor allows to create the workflow content. The basic steps are:

  1. Place a workflow element on the canvas by dragging it from the element panel to the desired position.

  2. Edit the details of the element. This can be done either in the details panel on the right or using the toolbar. You can find information about the available settings on the subpage of the element type, see Available workflow components.

  3. Connect the workflow element with other workflow elements by drawing arrows.

You can perform the following actions in the workflow editor:

You can undo the deletion of an element, e.g. a scope, by pressing CTRL+Z.

Actions which are related to specific types of elements are described in the subsection of the element type.

Saving and deploying a workflow

Workflows are versioned so it is possible to view the history of a workflow and check older workflow versions. The versioning pattern is “major.minor”, e.g. 1.2.

There are several actions which you can perform in the context of saving and deploying a workflow.

Advanced tasks

Modifying editor settings

The workflow editor has the following global settings. Click the Settings button to modify them.

Deployment mode

The deployment mode determines when changes to the properties of workflow elements, e.g., labels, scripts, or icons, become effective.

Changes to the workflow structure, e.g., moving an activity or adding a time trigger, always become effective when the workflow is deployed.

Workflow drafts

The setting Automatically create draft version allows to determine whether a draft version should be created with the first important change to a deployed or saved workflow, e.g. adding an element, editing a script or modifying a label, and updated with subsequent changes. When you leave the application because your session times out or you close the browser tab, and log in again, the information about the draft is displayed when you open the workflow. You can choose to open the draft version or to discard it.

This feature works only for deployed or saved workflows, but not for newly created workflows which have not been saved yet.

Background knowledge about case transfers

A case transfer is needed for the following changes: