Create Control Nodes in Your Business Process

To Create a Control Node in Your Business Process

In the Design View, an interaction between a business process and an external resource is represented by one of three Control nodes: Control Send, Control Receive, or Control Send with Return. The following steps describe how to add a Control node to your business process:

  1. On the Application tab, click the business process (JPD file) you want to design.
  2. Click the Design View tab to view your business process.
  3. Add a control node to your business process using one of the following methods:

Drag and Drop a Method from a Control in the Data Palette onto the Design View

    1. If the Data Palette is not visible in WebLogic Workshop, choose View —> Windows —> Data Palette from the WebLogic Workshop menu.
    2. If you have already added an instance of your control to your business project (Adding Instances of Controls to Your Business Process Project), select the relevant method on that control by clicking the method in the Data Palette.
    3. Drag and drop the method onto the business process in the Design View at the location at which you want to define the interaction.
    4. As you drag your selection onto the Design View, targets image appear on your business process. Each target represents a location in the flow where you can place the node. As you drag the node near a location, the target is activated image and the cursor changes to an arrow image . When this happens, you can release the mouse button and the node snaps to the business process at the location indicated by the active target. If the location you chose is not a valid one, an image will appear next to your node. If you place your cursor over this icon, WebLogic Workshop will display a message about the violation.

      The Control node is created in your business process in the Design View; it is named according to the method you dragged and dropped from the Data Palette.

Create a Control in the Design View First, Then Assign the Appropriate Method

    1. If the Palette is not visible in WebLogic Workshop, choose View —> Windows —> Palette from the WebLogic Workshop menu.
    2. If you have not yet created a control, click the control on the Palette that fits the action you want to create:
    3. image Control Send—Select the Control Send if you want to create an asynchronous call from your business process to a control.

      image Control Send with Return—Choose the Control Send with Return node if you want to create a synchronous call from your business process to a control.

      image Control Receive—Choose the Control Receive if you want to create a handler for a callback from a control to your business process.

    4. Drag and drop the Control node onto the business process in the Design View at the location at which you want to define the interaction.
    5. The Control node is created in your business process in the Design View; it is named Control Send, Control Send with Return, or Control Receive, depending on which control you dragged onto the Design View from the Palette.

      The node in the Design View indicates only the type of interaction (asynchronous send, asynchronous receive, or synchronous send/receive) between your business process and a resource; it does not identify the resource. image is a placeholder for a type of control. That is, it represents a location in your business process where you must specify the type of resource (control) with which you want your business process to interact.

    6. Specify the control for this placeholder node in one of the following ways:
    7. - Drag a control method from an instance of a control in the Data Palette and drop it onto the placeholder control in the Design View. (To learn how to add instances of controls to your project, see Adding Instances of Controls to Your Business Process Project.)

      - Double click the placeholder control image in the Design View to open the node builder for this control and complete the specifications in the node builder.

Note the following properties for the Control nodes:

Related Topics

Designing Your Control Nodes

Adding Instances of Controls to Your Business Process Project

Configuring Control Nodes

Setting Control Properties

Previous Document Next Document