Get Request Info Activity

Description:

Gets information about the current HTTP request.

Inheritance Hierarchy:

System.Object
   System.Activities.Activity
     System.Activities.CodeActivity
       Geocortex.Workflow.Activities.GetRequestInfo

Function:

This activity provides access to various properties of the current HTTP request, such as the Uri, UserAgent, UserHostAddress, and Referrer.

The RequestInfo object is only populated if the workflow was initiated by an HTTP request. When this activity executes in the simulator, the object is empty.

In a Workflow:

You could use this activity to determine which UserAgent (web browser) the current user is using. Alternatively it can generate a client token for a secured map service using the Referrer or UserHostAddress with the Generate Token activity.

Properties:

Name Description

Misc

Display Name

GetRequestInfo

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

Out Arguments

Request Info

The RequestInfo for the current HTTP request.

Note that the RequestInfo object is only populated if the workflow was initiated by an HTTP request.

The RequestInfo Class:

The Geocortex.Workflow.Runtime.RequestInfo type exposes the following properties:

Version Information:

Supported from: Geocortex Essentials 3.10.