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 workflow 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 Transition Triggered by an Action, you have
implemented an unconditional transition from the OnHold
workflow
state to the ReadyForAssignment
workflow state.
Here you will add a transition from the OnHold
workflow state to the
PendingPayment
workflow state and modify the transition from
the OnHold
workflow state to the
ReadyForAssignment
workflow state. You will also define the
conditions on which these transitions are performed.
System Preparation
Make sure that you have done the following:
- Prepared an instance with the PhoneRepairShop customization project and enabled the workflow validation by performing the following prerequisite activities:
- Prepared the screen configuration and define the set of states by performing the Screen Configuration: To Prepare a Screen Configuration for a Form Without a Predefined Workflow prerequisite activity.
- Defined the
OnHold
andReadyForAssignment
workflow states by performing the Workflow States: To Define a Workflow State prerequisite activity. - Implemented a transition from the
OnHold
workflow state to theReadyForAssignment
workflow state by performing the Transitions: To Implement a Transition Triggered by an Action activity.