Advanced Customization > Business Logic Customization > Customizing Workflow Administration > Refine and Review Workflow Transitions > Adding the Transitions
  
Adding the Transitions
1. Navigate to Site > UtilitiesWorkflow Process Administration
2. Edit the Change Notice Workflow
3. Upon editing the Change Notice workflow, add a new Expression Robot.
a. Select the icon.
b. Click the workflow to add the transition.
4. Next you must link the expression with the workflow so it is executed.
a. You can modify or add new arrows using the Action tool ().
b. Holding CTRL and drag arrows between states. In this example it is added before the Change Notice is submitted.
5. Now that it is part of the Change Notice’s workflow execution, you must make it a Refine or Review transition. You can do this by adding some code to the expression. Double click the new Expression and then select the Expression tab.
a. To add a Refine transition add the following expression code to the transition:
wt.maturity.TransitionHandlerFactory.getInstance().transitionTargets
(primaryBusinessObject,wt.lifecycle.Transition.toTransition(“REWORK"),false);
b. To add a Review transition add the following expression code to the transition:
wt.maturity.TransitionHandlerFactory.getInstance().transitionTargets
(primaryBusinessObject,wt.life cycle.Transition.toTransition("REVIEW"),false);
In this example a Review Transition has been added.
6. Select Check Syntax.
* 
If you copy and paste the transition code out of Word and directly into Windchill, Word will copy invalid quotes which are not valid for the java compiler. To get around this, when adding your expression code, paste it into a Notepad first, copy it from Notepad, then paste into the Windchill Expression box.
7. Save your changes and then Exit the Change Notice Workflow window. Now you have a working copy of the new workflow with a Review Transition.
You can use the same process to add Refine transitions.