2. Associate operation

The second page of the New Flow wizard, titled Associate Operation, allows you to associate an operation with the new flow.

To use this page of the wizard, determine whether you want to associate an operation with the new flow now or wait until later:

  • If you do not want to associate an operation with the new flow at this time:

    1. Do not select the check box Associate interface operation with the flow.

    2. Click Next to go to the next page of the wizard or click Finish to close the wizard and create the new flow. If you click Finish:
      1. The wizard creates a new flow containing only a Receive node and a Reply node.
      2. The wizard opens the new flow in the flow editor.
      3. The wizard closes.
  • If you do want to associate an operation with the flow at this time, then select the check box Associate interface operation with flow. The related fields on the window become enabled.

    1. Specify an operations file and an operation in that file that you want to use:
      1. If you want to use an existing operations file and operation:
        1. Click Workplace Browse.
        2. The Operation Browse window opens.
          1. In the left pane, select an operations file.
          2. In the right pane, select the operation in that file that you want to use.
          3. Click OK.
      2. If you want to create a new operations file and operation:
        1. Click Create New.
        2. The Create Operations File window opens:
          1. Specify the names that you want to use for the new operations file and the new operation.
            1. In the Interface Operations file input field, type the name that you want to use for the new file, or accept the default name (such as intf_new_flow_2.wsdl).
            2. In the Operation input field, type the name that you want to use for the new operation, or accept the default name (such as intf_new_flow_2).
          2. Specify the names of the message file and the message that you want to use for the input message:
            1. To specify an existing message, click Workplace Browse and select a message file and a message from the Select Message window.
            2. To create a new message, click Create New and specify in the Create Message File window the names that you want to use for the new message file and message.
            3. The names that you selected or specified are displayed in the Input Message section of the Create Operations File window.
          3. Specify the names of the message file and the message that you want to use for the output message:
            1. To specify an existing message, click Workplace Browse and select a message file and a message from the Select Message window.
            2. To create a new message, click Create New and specify in the Create Message File window the names that you want to use for the new message file and message.
            3. The names that you selected or specified are displayed in the Output Message section of the Create Operations File window.
        3. Click OK to close the Create Operations File window.

    2. The names of the operations file and the operation are displayed on the current page of the New Flow wizard.

    3. Select the check box Update interface operation messages while building flow if you want the Service Flow Manager to automatically create a corresponding message element in the input message when you create an Insert action, and automatically create a corresponding message element in the output message when you create an Extract action (see Updating an interface message with a variable from Extract or Insert).
    4. Click Next to go to the next page or Finish to close the wizard and create the new flow.If you click Finish:
      1. The wizard creates the specified operations file, operation, message file, and messages in the interface definition subproject of the service flow project that you specified.
      2. The wizard creates a new flow and associates the operation with it.
      3. The wizard creates the following nodes in the new flow and connects them:
        • A Receive node.
        • An Assign node. You can use the mapping editor to open the mapping routine for this Assign node and create a mapping that copies the contents of the input message to another message in your service flow project.
        • A second assign Assign node. You can use the mapping editor to open the mapping routine for this Assign node and create a mapping that copies the contents of a message in your service flow project to the output message of the flow.
        • A Reply node.
      4. The wizard opens the new flow in the flow editor.
      5. The wizard closes.