Creating an Empty Orchestration Workflow For the Service Step

Prerequisites:

You performed the steps in Practicing With the While Step.

In this exercise, you create an empty synchronous orchestration workflow with reply. In the next section, you add a Service step and then configure it.

To create an empty orchestration workflow for the Service step:

  1. In App Explorer, under StepPaletteApp, under Application Workflows, select StepPaletteAppWF.
  2. In the application workflow editor, right-click the Service transition, and select Show Actions.
  3. On the Actions tab of the Property Editor, click New.

    The Action Wizard asks, "Which type of action do you want to execute?"

    Under Step 1, Orchestration Workflow should be selected.

  4. In the Step 2 box, click the and continue executing (asynchronous) link, select and wait for reply (synchronous), and then click Next.

    The Action Wizard asks, "When do you want to call the orchestration workflow?"

  5. In the Step 1 box, select Before, and then click Next.

    The Action Wizard asks, "Which orchestration workflow do you want to call?"

  6. On the menu under Step 1, select (Add new workflow...).
  7. In the Event With Reply dialog box that opens:
    1. Change the Name to ServiceOrchWFWR.
    2. On the Orchestration menu, select StepPaletteOrch.
    3. In the Workflow box, change name to ServiceOrchWF.
    4. In the Fields used by event column, select the Title check box.
    5. In the Fields returned by event column, select the Title check box.
    6. Click OK.
  8. In the Action Wizard, click Finish.
  9. In App Explorer, under StepPaletteApp, under Orchestration Links, select ServiceOrchWFWR.
  10. On the ServiceOrchWFWR tab:
    1. In the Fields used by event column, select the Item Id check box. The Title check box should already be selected.
    2. In the Fields returned by event column, the Title check box should be selected.