Deploying Workflows

This chapter discusses the following:

Introduction and Workflow Life Cycle

During the development of a workflow you use the following functions which reflect the workflow life cycle:

Make sure you are aware of the number of tickets which have to be transferred when a new workflow is deployed! The deploy operation might take some time in large environments! See section Actions During Workflow Deployment.

Engineer Permissions Required for Workflow Deployment

An engineer who is supposed to deploy workflows must have at least one role with one of the following access rights:

Figure 181: ConSol CM Admin Tool - Engineer permissions for deploying workflows

Actions During Workflow Deployment

When a workfow is deployed, it will be active at once. Thus, consider well what will happen to open tickets which are in a queue where the new workflow will be applied. They will be transferred to the new workflow.

In case you have performed one or more of the following steps:

the following actions will be initiated after you have pressed the Deploy button.

You will be prompted for a decision concerning the open tickets in the respective queues which cannot stay at their previous position within the process because the workflow architecture was changed:

  1. Stay as close as possible to the previous position (default).
  2. Let all those tickets start the process from the beginning.

In case you choose the first option (keep position), the following actions will be performed:

  1. The transfer of tickets starts.
  2. The name of the ticket's last executed activity is compared to the names in the current workflow definition. If the ticket's activity is no longer in the workflow definition, a new target activity for the ticket must be found.
  3. The History for the ticket is loaded. The transfer engine iterates over all activities executed from the beginning of the process instance and tries to find one which would be suitable, i.e. which
    1. is still present in the workflow definition,
    2. is not a trigger target element,
    3. is not a dead end activity.

Each ticket which cannot keep its position will be moved to the suitable position according to those criteria. In any case the tickets will be moved backwards, never forwards, within the workflow.

For a summary of all ticket transfers click on View in the main menu and select Show ticket transfer history:

In the bottom right corner of the Process Designer GUI, the overall status of the ticket transfer is displayed.