Get Agent Session

The Get Agent Session building block is used to fetch the details of the current flow, typically as part of a run list whilst a case is being built or maintained. This can also be used if the values fetched at the run time are required for taking decisions/defining alternative flows.

Fully expanded, the Get Agent Session block shows the following properties:

The Block Header (“Get Agent Session”)

The title of the block (“Get Agent Session”) can be changed by double-clicking on it and typing in a new title.

Flow name

The Flow name property contains the name of the flow at the time of execution.

Flow version

The Flow version  property contains the version of the running flow at the time of execution.

Run List name

The Run List name property contains the name of the Run List that executes the flow containing the Get Agent Session block.

Schedule name

The Schedule name property contains the name of the schedule that executes the flow containing the Get Agent Session block.

Step name

The Step name property contains the name of the specific Step inside the run list that executes the flow containing the Get Agent Session block.

Agent

The Agent property contains information related to the Agent environment on which the flow is executed. This property can be expanded to reveal individual sub-properties for:

  • Name: Agent Name (as defined in the Agent configuration)
  • Type: Agent Type (Remote Agent, Selenium Grid, Sauce Labs, Browser Stack, Gridlastic)
  • Host: Agent Host Name (as defined in the Agent configuration)
  • Port: Agent Port Number (as defined in the Agent configuration)

Username

The Username property contains the name of the user under which the flow is executed.

Machine name

This property contains the name of the machine on which the flow is executed.

Resolution

The Resolution property contains the screen resolution at the time of the flow execution.