Escalation

This content applies to legacy design tools (such as K2 Studio, K2 for Visual Studio, or the Silverlight-based K2 workflow design tool). If you have upgraded from K2 blackpearl 4.7 to K2 Five, these tools may still be available in your environment. These legacy tools may not be available in new installations of K2 Five. These legacy tools may also not be available, supported, or behave as described, in future updates or versions of K2. Please see the legacy component support policy for more information about support for these components.

Escalations are used to perform an action if a certain interval has passed and the User Task step in the workflow has not completed yet. For example, an escalation may be that if the Approval User Task in the workflow is not completed within 48 hours, the approval task should be re-assigned to the approver’s manager and an E-mail sent to both the original approver and the originator of the workflow to inform them that an escalation has occurred. If the approval task is completed within 48 hours, the escalation will never execute.

K2 escalations consist of a time-based component and an action component.

The time component defines when the escalation should fire, and could be a relative date-time (for example, fire the escalation 48 hours after the Activity is started) or an absolute date-time (for example, calculate the date-time 2 days before the item’s due date, and then use this date as the Escalation Rule for the Escalation).

The action component defines what action K2 should take when the escalation time is reached. The actions or escalation types that are applicable to a User Task escalation are, e-mail, redirect or expire. It is possible to define multiple escalations with different time and action components on the same item, which is useful if you have a “escalating levels of Escalation” requirement.

Follow these steps to configure an escalation rule:

  1. Right click on the User Task you want to configure the escalation rule for and select the Escalation option.
  2. Click on Add.
  3. The Add Escalation wizard opens.
  4. Configure the Escalation wizard as defined below:
  5. Escalation Details Description
    Name: Type a name for the escalation rule.
    Description: Type a description for the escalation.
    Escalation Type: Select the action that must be taken from the drop-down. The available options are:
    • Send an E-mail,
    • Redirect the work item to another user, or
    • Expire the item. Expiring the item will result in no further action being taken on this work item.
    Escalation Settings Description
    Escalate After: Here you can specify the number of seconds, minutes, hours or days before the escalation rule must start. Select the to be repeated check box and enter the number of times this action is to be repeated. The repeat option will most likely be used with an e-mail action.
    Escalate On: Specify a date on which the escalation must start by using the calendar provided. Select the Repeat After check box and enter the number of seconds, minutes, hours or days this action is to be repeated, if required. The repeat option will most likely be used with an e-mail escalation action.
  6. Click Next.
  7. The next page in the wizard will depend on the Escalation Type selected earlier.
    • If the E-mail action was selected you will be able to customize an e-mail to be sent to a user, the participants or the originator.
    • If the Redirect action was selected, you will be able to select a user/s to redirect this item to.
    • If the Expire action was selected you can just click Finish as no further configuration will be required.
  8. Click Finish to complete the escalation configuration.

To edit an escalation, right-click the User Task and select Escalation. Select the check box of the escalation you want to edit and click the Edit button.

To delete an escalation, right click the User Task and select Escalation. Select the check box of the escalation you want to delete and click the Remove button. To delete all the escalation rules click the Remove All button.