Transitions: To Implement a Group of Transitions

The following activity will walk you through the process of implementing a group of transitions—that is, a set of transitions that have the same source state.

Story

Suppose that a user should be able to remove a repair work order from hold when the order has the On Hold status. The user should be able to do this by clicking the Remove Hold button on the form toolbar or the equivalent command on the More menu. The status of the repair work order should be changed to Ready for Assignment or Pending Payment, depending on whether the repair work order requires a prepayment.

Process Overview

In Transitions: To Implement a Simple Transition, you have implemented an unconditional transition from the OnHold state to the ReadyForAssignment state.

Here you will add a transition from the OnHold state to the PendingPayment state and modify the transition from the OnHold state to the ReadyForAssignment state. You will also define the conditions on which these transitions are performed.

Learning Objectives

In this activity, you will learn how to do the following:

  • Define a condition pack
  • Define a transition group
  • Define transitions that are triggered depending on a condition

System Preparation

In an instance with the T100 dataset, make sure that you have done the following:

  1. Prepared an instance with the PhoneRepairShop customization project and enabled the workflow validation by performing the prerequisite activities in the Preparing an Instance for Workflow Customization chapter.
  2. Prepared the screen configuration and defined the set of states by performing the prerequisite activities in the Preparing a Screen Configuration chapter.
  3. Defined the OnHold and ReadyForAssignment states by performing the Workflow States: To Define a Workflow State prerequisite activity.
  4. Implemented a transition from the OnHold state to the ReadyForAssignment state by performing the Transitions: To Implement a Simple Transition activity.