Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Step 3: Create the Purchase Order Process

Step 3 of 9

Time to complete: 7 minutes

Objective: In this step, you add action shapes to the B2BProcess orchestration.

Purpose: In Orchestration Designer, you define the first part of your business process by using shapes such as Receive, Parallel Actions, Message Assignment, and Transform instead of more complex items, such as documents, schemas, components, and messages.

The Receive shape receives the purchase order (PO) and starts the orchestration. If a Receive shape is the first action in an orchestration, it must have the Activate property set to True to run, unless the orchestration is called by another orchestration.

Note the following requirements before you begin this step:

To add the Receive, Parallel Actions, and Construct shapes
  1. Click Start, point to Programs, point to Microsoft Visual Studio 2005, and then click Microsoft Visual Studio 2005.

  2. In Visual Studio 2005, on the File menu, point to Open, and then click Project/Solution.

  3. In the Open Project dialog box, click B2BSolution, and then click Open.

  4. In Solution Explorer, expand B2BOrchestrations, and then double-click B2BProcess.odx.

  5. In Orchestration Designer, from the Toolbox, drag the Receive shape to the orchestration design surface and drop the shape between the Begin (green circle) and End (red octagon) shapes.

    The following figure shows the orchestration with the new Receive shape.

    Receive shape
  6. On the orchestration design surface, right-click the Receive shape, and then click Properties Window.

  7. In the Properties pane, change the Name property to Receive_PO and set Activate to True.

  8. From the Toolbox, drag the Parallel Actions shape to the orchestration design surface and drop the shape on the connecting line directly below the Receive_PO shape.

    The Parallel Actions shape expands to show two branches for different actions that take place concurrently but independently.

    The following figure shows the orchestration with the new Parallel Actions shape.

    Parallel Action shape
  9. On the orchestration design surface, right-click the Parallel Actions shape, and then click Properties Window.

  10. In the Properties pane, change the Name property to Route_PO.

  11. From the Toolbox, drag the Message Assignment shape to the orchestration design surface, and drop the shape on the left side in the Route_PO shape.

    Aa560617.note(en-us,BTS.20).gifNote
    When you drop the Message Assignment shape on the design surface, Orchestration Designer creates the enclosing Construct Message shape for you.

    The following figure shows the orchestration with the new Message Assignment shape.

    Message Assignment shape
  12. On the orchestration design surface, right-click the ConstructMessage_1 shape, and then click Properties Window.

  13. In the Properties pane, change the Name property to Construct_POConfirmed.

  14. From the Toolbox, drag the Send shape to the orchestration design surface, drop the shape on the connecting line directly below the Construct_POConfirmed shape.

    Aa560617.Caution(en-us,BTS.20).gifWarning
    Do not drop the Send shape inside the Construct Message shape. It must be placed outside the Construct Message shape and inside the Parallel Actions shape.

    The following figure shows the orchestration with the new Send shape.

    Send shape
  15. On the orchestration design surface, right-click the Send shape, and then click Properties Window.

  16. In the Properties pane, change the Name property to Send_POConfirmed.

  17. From the Toolbox, drag the Transform shape to the orchestration design surface, and drop the shape on the right side of the Route_PO shape.

    Aa560617.note(en-us,BTS.20).gifNote
    When you drop the Transform shape on the design surface, Orchestration Designer creates the enclosing Construct Message shape for you.

    The following figure shows the orchestration with the new Transform shape.

    Transform shape
  18. On the orchestration design surface, right-click the ConstructMessage shape, and then click Properties Window.

  19. In the Properties pane, change the Name property to Construct_CommonPO.

  20. From the Toolbox, drag the Send shape to the orchestration design surface, and drop the shape on the connecting line directly below the Construct_CommonPO shape.

    The following figure shows the orchestration with the new Send shape.

    Send shape
  21. On the orchestration design surface, right-click the Send shape, and then click Properties Window.

  22. In the Properties pane, change the Name property to Send_CommonPO.

    The following figure shows the completed orchestration.

    Completed B2BProcess orchestration
    Aa560617.note(en-us,BTS.20).gifNote
    Some orchestration shapes show an insufficient configuration Smart Tag. You will add the missing information to the shapes in other steps in this lesson.

    The following figure shows the insufficient configuration Smart Tag.

    Aa560617.83fc41c7-3958-4ff4-b12e-52401b0b2b58(en-us,BTS.20).gif
  23. On the File menu, click Save All to save your work.

    Aa560617.note(en-us,BTS.20).gifNote
    You saved your work. You can safely close Visual Studio 2005 at this time, or you can go to the next step, Step 4: Create the Message Instance Variables.

You began to build the B2BProcess orchestration by adding a Receive shape and a Parallel Actions shape that contains two Construct Message shapes and two Send shapes.

You create variables for the message instances and connect the messages to schemas in Step 4: Create the Message Instance Variables. You added the schemas to the B2BSchemas project in Lesson 2: Create the B2B Solution.

Community Additions

ADD
Show:
© 2015 Microsoft