WaitForReady

The WaitForReady activity is used to suspend a process until the space reaches the READY state.

General

In the General tab, you can specify the activity name, a space connection, and the time to wait for the space to reach the READY state.

The following table describes the fields in the General tab of the WaitForReady 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.

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

Wait For Ready Yes Specifies the amount of time in milliseconds that the space waits to reach the READY state.

The default value is -1, which indicates waiting indefinitely.

Description

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

Input

The following table describes the field in the Input tab of the WaitForReady activity:

Input Item Data Type Description
WaitForReady Integer Specifies the amount of time in milliseconds that the space waits to reach the READY state. It overwrites the value specified in the Wait For Ready field in the General tab.

Output

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

The following table describes the field in the Output tab of the WaitForReady activity:

Output Item Datatype Description
Status String The current status of the space.

See TIBCO ActiveSpaces Java API Reference for more information about the status of a space.

Fault

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

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

Error Schema Element Datatype 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.