Get Context

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

GetContext activity must be placed after Invoke or 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.
Direction 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 of the General tab is the output for this activity. The schema for the output is determined by the schema specified for the context resource.