uCosminexus Service Platform, Basic Development Guide
This activity is used for defining a fault inside a business process and sending this fault to communicate it to a higher-order scope activity.
You define the details of throw activities in the Throw Activity dialog box.
- Organization of this subsection
- (1) Definition procedure
- (2) Notes on definition
(1) Definition procedure
To define a receive activity:
- Deploy a throw activity on the canvas.
For details about how to deploy activities, see 5.4.1 Deploying Activities.
- Use one of the following methods to open the Throw Activity dialog box:
- Double-click a throw activity on the canvas.
- Choose and right-click a throw activity on the canvas, and choose Setting.
The Throw Activity dialog box opens.
- Enter the necessary information in the Throw Activity dialog box.
For details about the display and input contents of the Throw Activity dialog box, see the manual Cosminexus Service Platform Reference.
For Allocated variable, specify the variable to be assigned when throwing a fault. To edit the contents of the variable specified for Allocated variable, click Edit. The Variable-Correlation Set dialog box opens. In this dialog box, you can edit the contents of the variable. For details about the Variable and Correlation Set List dialog box, see the manual Cosminexus Service Platform Reference.
- Click OK.
(2) Notes on definition
- Specify activity names that are unique within a business process (and also within a scope).
- An activity name must not exceed 64 bytes.
- Do not specify the control character in the input field of the dialog box.
- For the higher-order scope that includes the throw activity, define fault handling that utilizes a corresponding allocated variable or catch-all.
- Set variable of message type (XML) in the assigned variable to be set in fault process assigning. You cannot set a variable of message type (non-XML or any).
- When the value of assigned variable of throw activity does not match to the assigned variable specified in fault process, process does not move to the activity specified in assigned variable of fault process. In such a case, process moves to the activity specified in catchAll.
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.