Skip to main content

Run Context

Provides access to current application information and execution context data.

component image

Out-ports

application Object — active application information including workspace identifier, application ID, aliases, and owner details.

context Object — execution context containing runId (unique identifier of current application run) and startTime (ISO formated string of when the run started).

Overview

The Run Context component serves as a system service wrapper that provides two key types of information about the current application environment:

  1. Application Information — Access details about the active application, including workspace context, application metadata, and ownership information
  2. Execution Context — Runtime information such as the unique run identifier and start timestamp

The component automatically connects to the system's configuration API service and streams real-time updates. The application port provides comprehensive application metadata, while the context port delivers execution-specific data.

The runId value changes whenever the application is loaded or reloaded using the UI reload button, making it useful for tracking application lifecycle events. The startTime provides the exact moment when the current run began in ISO format.

This component requires no configuration and begins emitting data immediately upon initialization. It maintains persistent connections to the underlying system services to ensure data accuracy.

Settings

This component requires no additional configuration.