Workflow metadata
  • 20 Feb 2024
  • 1 Minute to read
  • Dark
    Light

Workflow metadata

  • Dark
    Light

Article Summary

The workflow metadata is information about the current execution that's available in the context automatically. 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> }}

FieldDescription
event_idThe ID of the trigger event.
execution_idThe ID of the current execution.
execution_nested_levelThe nesting level of the execution. 
execution_urlA link to the execution Run Log in Torq.
parent_execution_idThe ID of the parent execution.
parent_workflow_idThe ID of the parent workflow.
user_emailThe email of the user who triggered the workflow, if applicable. 
workflow_idThe ID of the workflow being executed.
workflow_nameThe name of the workflow being executed.
workflow_revision_idThe ID of the workflow revision being executed.

Use the metadata in workflow steps


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.