Get Context

The Get Context activity retrieves the value of the specified context parameter. This is useful if your process requires some context information from a request or a response.

General

The Get Context activity must be placed after the Invoke or the Receive activity.

The General tab has the following fields.

Field Description
Name The name to be displayed as the label for the activity in the process.
Use Shared Context Select the check box to use a job shared variable to share the context.
Shared Context This field is displayed when the Use Shared Context field is selected. Select the Go to icon to locate the required job shared variable.
Direction This field is displayed when the Use Shared Context field is clear. Select from the following available options to specify from where the context information should be fetched:
  • Receive Service: pulls context information from a service request. Selecting this option displays the Service field.
  • Return from Reference: pulls context information from a reference response. Selecting this option displays the Reference field.
  • Fault from Reference: pulls context information from a reference fault response.
Service/Reference Select the targeted portType and operation from where the context information is to be picked.
Fault This field is displayed when Fault from Reference option is selected in the Direction field.

Description

Provide a short description for the activity.

Output

The following is the output for the activity.

Output Item Datatype Description
<schema> varies The value of the context resource specified in the Direction field on the General tab is the output for this activity. The schema specified for the context resource determines the schema for the output.