Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Environment information functions provide information about the agent, environment, and operation that the script is running in.

Excerpt

GetAgentGroupID

Declaration

Code Block
int GetAgentGroupID()

Syntax

Code Block
GetAgentGroupID()

Description

Returns the ID of the agent group that the operation or expression is currently running in.

Examples

Code Block
GetAgentGroupID();
// Returns an integer ID

Backtotop

GetAgentGroupName

Declaration

Code Block
string GetAgentGroupName()

Syntax

Code Block
GetAgentGroupName()

Description

Returns the name of the agent group that the operation or expression is currently running in.

Examples

Code Block
GetAgentGroupName();
// Returns "Jitterbit Production Cloud Agent Group"

Backtotop

GetAgentID

Declaration

Code Block
int GetAgentId()

Syntax

Code Block
GetAgentId()

Description

Returns the ID of the agent that is running the operation or expression.

Examples

Code Block
GetAgentID();
// Returns an integer ID

Backtotop

GetAgentName

Declaration

Code Block
string GetAgentName()

Syntax

Code Block
GetAgentName()

Description

Returns the name of the agent that the operation or expression is currently running in.

Examples

Code Block
GetAgentName();
// Returns "Jitterbit Cloud Agent 2_1_1"

Backtotop

GetAgentVersionID

Declaration

Code Block
int GetAgentVersionID()

Syntax

Code Block
GetAgentVersionID()

Description

Returns the version ID of the agent that the operation or expression is currently running in.

Examples

Code Block
GetAgentVersionID(); 
// Returns 80160000000015 (depending on the current agent version)

Backtotop

GetAgentVersionName

Declaration

Code Block
string GetAgentVersionName()

Syntax

Code Block
GetAgentVersionName()

Description

Returns the version name of the agent that the operation or expression is currently running in.

Examples

Code Block
GetAgentVersionName();
// Returns "8.16.0.15" (depending on the current agent version)

Backtotop

GetEnvironmentID

Declaration

Code Block
int GetEnvironmentID()

Syntax

Code Block
GetEnvironmentID()

Description

Returns the ID of the environment that the operation or expression is currently running in.

Examples

Code Block
GetEnvironmentID();
// Returns an integer ID

Backtotop

GetEnvironmentName

Declaration

Code Block
string GetEnvironmentName()

Syntax

Code Block
GetEnvironmentName()

Description

Returns the name of the environment that the operation or expression is currently running in.

Example

Code Block
GetEnvironmentName();
// Returns a string with the environment name

Backtotop

GetOrganizationID

Declaration

Code Block
int GetOrganizationID()

Syntax

Code Block
GetOrganizationID()

Description

Returns the ID of the organization that the operation or expression is currently running in.

Examples

Code Block
GetOrganizationId();
// Returns an integer ID

Backtotop

GetOrganizationName

Declaration

Code Block
string GetOrganizationName()

Syntax

Code Block
GetOrganizationName()

Description

Returns the name of the organization that the operation or expression is currently running in.

Examples

Code Block
GetOrganizationName();
// Returns a string with the name of the organization

Backtotop

Panel
borderColor#65379B
titleColor#FFFFFF
titleBGColor#65379B
titleOn This Page
Table of Content Zone

Table of Contents
maxLevel3
minLevel2
excludeSyntax|Declaration|Description|Example.*|Required Parameters|Optional Parameters

Panel
borderColor#8C9CB4
titleColor#FFFFFF
titleBGColor#8C9CB4
titleSearch in This Topic
Page Tree Search
rootPageFunctions
Panel
borderColor#00B886
titleColor#FFFFFF
titleBGColor#00B886
titleRelated Topics

HideElements
metastrue

Last updated: 

Lastmodifieddate