Get

The Get activity is used to query tuples from a space.

Note: The Get activity only returns existing tuples. No errors are reported if no tuples are matched.

General

In the General tab, you can specify the activity name and a space connection.

The following table describes the fields in the General tab of the Get activity:

Field Module Property? Description
Name No Specifies the name to be displayed as the label for the activity in the process.
Space Connection Yes Click the icon to select a space connection that defines how the application joins the space.

Tuples are queried in the space with the defined distribution role of the selected space connection.

If no matching space connections are found, click Create Shared Resource to create one. See Creating a Metaspace Connection for details.

Description

In the Description tab, you can enter a short description for the Get activity.

Input

In the Input tab, you have to provide the key values of tuples to be queried.
Note: You have to input all the keys specified in the space. Nullable keys are optional.

Output

In the Output tab, you can find the operation results.

The following table describes the fields in the Output tab of the Get activity:

Output Item Data Type Description
The ResultList node contains the following fields:
HasError Boolean Indicates whether the results have errors.
Note:

The value is true when one or more results have errors.

The value is false when no error occurs.

Result Any of the following data types:
  • Boolean
  • Char
  • Short
  • Integer
  • Long
  • Float
  • Double
  • Blob
  • String
  • Datetime
Indicates the results that contain the following items:
  • Status: the ActiveSpaces status code returned by TIBCO ActiveSpaces functions. See TIBCO ActiveSpaces Java API Reference for more information.
  • Tuple: the tuples that have been returned in the associated space during the Get operation.
  • HasError: (Boolean value) The value of true indicates that an error is returned. The value of false indicates that no error is returned.
  • Error: the error returned by TIBCO ActiveSpaces during the tuple processing.

Fault

In the Fault tab, you can find the error code and error message of the Get activity. See Error Codes for more detailed explanation of the errors.

The following table describes the errors in the Fault tab of the Get activity:

Error Schema Element Data Type Description
msg String The TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces error message.
msgCode String The TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces error code.
ASStatus String The status code returned by TIBCO ActiveSpaces functions.

See TIBCO ActiveSpaces Java API Reference for more information.