Global Variables
Instantly accessible objects available in every Python processor environment — no import needed.
| Variable | Type | Description |
|---|---|---|
| dataDictionary | DataDictionary | Global instance providing access to your project's data dictionary structures. Use it to navigate types and create new messages. |
| message | Message | The current message being processed. Automatically available in every Python processor. |
| metrics | Metrics | Global metrics instance for tracking counters and other metrics across your deployment. |
| processor | Processor | The current processor instance. Provides access to ports, arguments, logging, and processor-specific configuration. |
| statusRegistry | StatusRegistry | Global registry of all defined status vendors and codes for the current project. Includes the built-in "LAY" vendor plus any custom vendors. |
| stream | Stream | The current stream being processed. Controls message flow, logging, and lifecycle operations like retry and rollback. |
| workflow | Workflow | The current workflow instance. Provides access to workflow-level metadata and the data dictionary. |