Comprehensive and Detailed Explanation from Pega Robotics System (Exact Extract & Context):
According to the Pega Robotics Studio User Guide – Globals Designer Reference:
“The Globals designer provides a workspace where you can define variables, constants, and lists that have global scope, meaning they can be accessed from any automation or component within the project.”
When a variable (such as const_msgID) is added from the Toolbox tab of the Globals designer, it is automatically created as a global constant.
“Constants created in the Globals designer are read-only values accessible throughout the project. Constants defined here are available to all automations and cannot be modified at runtime.”
In contrast, variables declared directly within an automation have local scope, accessible only to that specific automation. But when added via the Globals designer, the constant or variable is promoted to a project-wide scope.
Therefore:
const_msgID is a global constant accessible from every automation in the project.
It cannot be changed at runtime.
It is ideal for fixed identifiers, keys, or configuration constants used across multiple automations.
Document References (Exact Extracts Source)
Pega Robotics Studio User Guide – Globals Designer and Variable Scope
Pega Robotics Studio Automation Design Concepts – Constants and Global Variables
Pega Robotics System 8.7 Certification Study Guide – Variable Scope and Project Context Section
Final Verified Answer: A