var://service/global-transaction-id or serviceVars.globalTransactionId

This variable gets the global transaction ID for a specific transaction.

Syntax

Slash notation
var://service/global-transaction-id
Dotted notation
serviceVars.globalTransactionId

Format

Number

Purpose

The var://service/global-transaction-id or serviceVars.globalTransactionId variable gets the global transaction ID (GTID) for a specific transaction. This GTID appears in logs. This variable is a read-only variable.

The GTID is a computed value that is based on various data that includes the DataPower® unique name

Services that are chained together for a single transaction return the GTID across the chained services. Only the following services support GTID.
  • Multi-Protocol Gateway
  • Web Service Proxy
  • XML Firewall