Practicing with the Service Step

Prerequisites:

You performed the steps in Creating an Empty Orchestration Workflow For the Service Step.

In this exercise, you add a Service step to the ServiceOrchWF orchestration workflow and define values for it. When ServiceOrchWF is invoked, it inserts your login ID in the Title box of the transition page between State4 and State5 when you click the Service button on the State4 state form.

To use the Service step in an orchestration workflow:

  1. In App Explorer, under StepPaletteOrch, under Orchestration Workflows, select ServiceOrchWF.
  2. In the New Items section of the Step Palette, drag a Service step onto the orchestration workflow editor, and drop it between the Start and End steps.
  3. On the General tab of the Property Editor, on the Service menu, select the sbmappservices72 Web service.
  4. On the Operation menu, select the GetItem Web service operation.
  5. On the Data Mapping tab, expand the Auth data element, and in the Default value column, enter your SBM user ID and password.
  6. Still on the Data Mapping tab, locate the TableId_ItemId data element, select the corresponding cell in the Source elements column, and then click the down arrow.
  7. In the Select a source tool, expand Inputs, EventNoticeWithReply, and Extension; select ItemId_TableRecId; and then click OK.
  8. In the orchestration workflow editor, select the End step.
  9. On the Data Mapping tab of the Property Editor, under Extension, locate the Title data element, select the corresponding cell in the Source elements column, and then click the down arrow.
  10. In the Select a source tool, expand sbmappservices72_GetItem, Outputs, GetItemResponse, return, item, and createdBy; select loginId, and then click OK.