Workflow metadata is information about the current execution available automatically in the context. Accessing information via the metadata allows for workflows to be built with fluidity and flexibility in mind. Include relevant metadata fields in steps that send out messages to users, create tickets or log entries, print messages for debugging, and more. The metadata can also be passed on to nested workflows.
To access the metadata, use: {{ $.metadata. }}
Field | Description |
account_id | The ID of the workspace where the workflow is executed. |
account_name | The name of the workspace where the workflow is executed. |
event_id | The ID of the trigger event. |
execution_id | The ID of the current execution. |
execution_nested_level | The nesting level of the execution. |
execution_url | A link to the execution Run Log in Torq. |
parent_execution_id | The ID of the parent execution. |
parent_workflow_id | The ID of the parent workflow. |
user_email | The email of the user who triggered the workflow, if applicable. |
workflow_id | The ID of the workflow being executed. |
workflow_name | The name of the workflow being executed. |
workflow_revision_id | The ID of the workflow revision being executed. |