Wait For Event Completion

By using the Wait For Event Completion activity, you can wait for an event to complete until it reaches the SUCCESS status or the specified timeout value.

General

The General tab contains the following fields.

Field Module Property? Description
Name No The name of the activity in the process definition.

The default value is WaitForEventCompletion.

MDM Connection Yes The MDM connection resource establishes a connection to an MDM server, allowing the plug-in to communicate with TIBCO MDM.

Click to select an MDM connection.

If no matching MDM connections are found, click Create Shared Resource to create one.

Timeout Yes Specify a timeout value in seconds during the waiting. The default value is 3600.
Note: It will be overridden by the value of Timeout in the Input tab at runtime.
Interval Yes Specify the time interval in seconds to execute operations. The default value is 5.
Note: It will be overridden by the value of Interval in the Input tab at runtime.

Description

Provide a short description for the activity.

Input

The following is the input for the activity.

Note: See General Input for MDM Activities for details about some general input items for this activity.
Input Item Description
EventId ID of the event whose details are to be retrieved.
Timeout Specify a timeout value in seconds during the waiting process.
Note: It will override the value of Timeout in the General tab at runtime.
Interval Specify the time interval to execute operations in seconds.
Note: It will override the value of Interval in the General tab at runtime.

Output

The following is the output for the activity.

Output Item Description
Event Return information on event Id, Type, Status, State, StartOn, BackendSystem, and Event Summary. The Event Summary is different for each event type, mainly include the Type, Name, Description, and Value attributes.

The event details returned depend on the type of the event. For example, the event summary information is returned only for the events that have a summary. If there is a file attribute in the summary information path, the document ID for the attribute is returned. The user uses this document ID to download the document by using the contentService. If the event ID is not found, Event does not exist or is executed in memory, and no other details available message is returned.