Search Results

Invoke

Invoke activity is an asynchronous activity that calls an operation of a process reference. The process reference can be configured to invoke another process (subprocess) or invoke an external service through a binding such as SOAP.

General

Note: The Call Process activity serves a similar purpose as the Invoke activity. The Call Process activity only calls non-WSDL-based subprocesses, or direct subprocesses, and the Invoke activity only calls WSDL-based subprocesses, or service subprocesses.

The General tab has the following fields.

Field Description
Name The name to be displayed as the label for the activity in the process.
Service Select the service for which to specify an operation.

Description

Provide a short description for the activity.

Advanced

The Advanced tab has the following field.

Input item Literal Value/Module Property? Description
Activity Timeout (seconds) Yes The Invoke activity timeout in seconds. You can either select a preset timeout (Default Timeout, 30, 60,or 120 seconds) or specify a custom timeout in seconds.
Important: If the Invoke activity is configured to be Default Timeout, then the timeout value equates to "3" minutes by default. However this default value (3 minutes) can be modified to be a different value by setting the property bw.engine.activity.async.waitTime in BW_JAVA_OPTS environment variable. The value for the property should be specified in milliseconds.

Note: When the Invoke activity timeouts, the in-line subprocess instance called by the Invoke activity can be cancelled before the subprocess instance completes. Hence, the business logic in the cancelled process instance may not be executed to its entirety.

Input

The following is the input for the activity.

Input item Datatype Description
input message complex The input message of the operation. This element contains all the input message parts for the operation.

Output

The following is the output for the activity.

Output item Datatype Description
output message complex The output message for the operation. This element contains all the output message parts for the operation.

Fault

Click on this tab to view faults that might be thrown by the activity when it is executed at runtime.