Back to Projects

JQ Global Scope

Support global scope data in a custom JQ implementation

automation SAP June 2022
JQ Global Scope

Overview

Extended JQ implementation to support global scope data, enabling transformations to access workflow-level variables and execution context alongside input data.

Key Features

  • Access Workflow Variables: Reference configuration and settings
  • Execution Context: Access metadata like workflow ID, start time
  • Shared Data: Share data across workflow steps
  • Dynamic Configuration: Inject values at runtime

Example

{
  user: .user.name,
  workflow: $global.workflowId,
  apiKey: $global.vars.apiKey
}

Use Cases

  • Dynamic API calls with configuration from variables
  • Conditional logic based on environment
  • Audit trail with execution metadata

Tech Stack

Java JQ JSON

Tags

JQ Data Transformation

More Projects