The Add Workflow Starts Tag job sets a searchable tag on the current workflow-start instance. Use it to attach dynamic values to a workflow execution so that the workflow start can be found or filtered later using meaningful runtime tags.
Properties
The properties for configuring the job are described below.
- Tag source (required)
- Source expression or statement that resolves to the tag value to add at runtime.
Referencing syntax
Use standard statement syntax when building the tag value.
- Read metadata with
{{metadata.key}}. - Read resource values with expressions such as
{{resourceName.key}}. - Build descriptive tags from dynamic values, for example
order:{{metadata.order_id}}.
Execution behavior
This job updates the current workflow-start record rather than a unit, group, or ordinary workflow context metadata key.
- The resolved tag value is added to the current workflow-start instance.
- The tag can then be used to search for or filter workflow-start records later.
- The workflow continues immediately after the tag is added.
Best practices and tips
- Keep tags short, descriptive, and consistent so they remain useful for searching.
- Prefer stable business identifiers such as order IDs, customer IDs, or correlation IDs over free-form text.
- Use prefixes such as
order:orintegration:when you want tags from different use cases to stay easy to distinguish. - Add tags at clear lifecycle points, such as when an integration starts, when a downstream call is made, or when a workflow is routed into a special branch.
- Avoid using large or highly variable text as tags. Searchability improves when tags stay predictable across executions.
Common tagging patterns
Retry and failure observability
Use tags to mark bounded-retry outcomes without exposing sensitive data.
Examples:
retry:attempt_1retry:max_retries_reachedintegration:rate_limited
Pair this with dataOperations retry counters and routeFromMetaData retry gates for reliable troubleshooting.
Callback/event status tags
For callback flows, add a normalized status tag from validated metadata.
Example source:
status:{{metadata.event_status}}
This creates a searchable execution trail for event-driven workflows.
Related jobs
- Execute Workflow
- Notify UI
- Workflow
References
- Working With Variables
- Reference for building dynamic tag values from metadata and resource expressions.