uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

5.6.2 Receive Activity

This activity defines an interface required for a business process to receive a request message from a service requester. If a single business process contains multiple operations to be open to service requesters, a receive activity must be defined for each operation.

You can define the details of receive activities in the Receive Activity dialog box.

Organization of this subsection
(1) Definition procedure
(2) Notes on definition

(1) Definition procedure

To define a receive activity:

  1. Deploy a receive activity on the canvas.
    For details about how to deploy activities, see 5.4.1 Deploying Activities.
  2. Use one of the following methods to open the Receive Activity dialog box:
    • Double-click a receive activity on the canvas.
    • Select and right-click a receive activity on the canvas, and then select Setting.
    The Receive Activity dialog box appears.
  3. Enter the necessary information in the Receive Activity dialog box.
    For details about the display and input contents of the Receive Activity dialog box, see 1.4.7 Receive Activity Dialog in the manual uCosminexus Service Platform Reference Guide.
    • When editing the contents of the variable to be specified in Body allocated variable
      Click Edit. The List Of Variables And Correlation Sets dialog box appears. In this dialog box, you can edit the contents of the variable. In this item, you can specify a variable of the message type (XML, non-XML, or any). For details about the List Of Variables And Correlation Sets dialog box, see 1.4.1 List Of Variables And Correlation Sets Dialog in the manual uCosminexus Service Platform Reference Guide.
      Note that if you have already defined a user-defined reception that has relevant operations, you can set the message format for the user-defined reception to a variable. Specify this setting in the Take In Message Format dialog box. The Take In Message Format dialog box appears when you click Take In in the List Of Variables And Correlation Sets dialog box.
      If you specify an operation name in the Receive Activity dialog box beforehand, the message format for the relevant operation within the user-defined reception is already selected when the Take In Message Format dialog box appears.
      For details about the Take In Message Format dialog box, see 1.4.5 Take In Message Format Dialog in the manual uCosminexus Service Platform Reference Guide.
    • When specifying settings in Header allocated variable
      Click Setting. The Header allocated variable dialog box appears. In this dialog box, you can specify a variable to be allocated to the header. In this item, you can specify a variable of the message type (XML). Note that you cannot specify a variable of the message type (non-XML or any). For details about the Header allocated variable dialog box, see 1.4.2 Header allocated variable dialog in the manual uCosminexus Service Platform Reference Guide.
    • When specifying settings in Allocating Correlation Set Group
      Click Setting. The Allocating Correlation Set Group dialog box appears. In this dialog box, you can specify the correlation sets to be allocated. For details about the Allocating Correlation Set Group dialog box, see 1.4.3 Allocating Correlation Set Group Dialog in the manual uCosminexus Service Platform Reference Guide.
  4. Click OK.

(2) Notes on definition