Dialog Boxes: To Implement a Transition with a Dialog Box

This activity will walk you through the process of creating a dialog box and implementing a transition that uses the values the user provides in this dialog box.

Story

Suppose that on the Repair Work Orders (RS301000) form, a user should be able to assign a repair work order when it has the Ready For Assignment status. To do this, the user will click the Assign button on the form toolbar (or the equivalent command on the More menu) and enter the name of the assignee in the dialog box. When the user clicks OK, the repair work order will get the Assigned status.

Process Overview

You will define the Assign dialog box in a workflow. To do this, you will define the Assign action, register it in a workflow, and specify the dialog box for it. You will also define the Assigned state and the transition from the ReadyForAssignment state to the Assigned state.

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 activities in the Preparing an Instance for Workflow Customization chapter.
  2. Prepared the screen configuration and defined the set of states by performing the activities in the Preparing a Screen Configuration chapter.
  3. Implemented the ReadyForAssignment state by performing the Workflow States: To Define a Workflow State activity.