Transitions: To Implement a Simple Transition

This activity will walk you through the process of implementing a transition that is triggered by an action.

Learning Objectives

In this activity, you will learn how to define a transition that is triggered by an action.

Story

Suppose that a user should be able to remove a repair work order from hold when the order has the OnHold status. The user will be able to do this by clicking the Remove Hold button on the form toolbar or the corresponding command on the More menu. As a result, the status of the repair work order should be changed to Ready For Assignment.

You need to implement a simple transition from the OnHold state to the ReadyForAssignment state. This transition is performed without the system considering the prepayment requirements.

Process Overview

To implement a transition from the OnHold state to the ReadyForAssignment state, you will define the following components in the screen configuration:

  • The OnHold state, which is the source state of the transition.
  • The ReadyForAssignment state, which is the target state of the transition.

    In this activity, you will use the implementation of these states from Workflow States: To Define a Workflow State.

  • The ReleaseFromHold action, which is the element that triggers the transition.

    In this activity, you will use the implementation of the ReleaseFromHold action from Workflow Actions: To Implement a Simple Action.

  • The transition.

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 ReleaseFromHold action by performing the Workflow Actions: To Implement a Simple Action activity.
  4. Defined the OnHold and ReadyForAssignment states by performing the Workflow States: To Define a Workflow State activity.