System Variables Supported by Azure Data Factory
System Variables Supported by Azure Data Factory
Factory
Pipeline scope
These system variables can be referenced anywhere in the pipeline JSON.
@pipeline().DataFactory Name of the data factory the pipeline run is running within
@pipeline().TriggerType Type of the trigger that invoked the pipeline (Manual, Scheduler)
@pipeline().TriggerTime Time when the trigger that invoked the pipeline. The trigger time is the actual fired
time, not the scheduled time. For example, 13:20:08.0149599Z is returned instead
of 13:20:00.00Z
@trigger().scheduledTime Time when the trigger was scheduled to invoke the pipeline run. For example, for
a trigger that fires every 5 min, this variable would return 2017-06-
01T22:20:00Z, 2017-06-01T22:25:00Z, 2017-06-01T22:29:00Z respectively.
@trigger().startTime Time when the trigger actually fired to invoke the pipeline run. For example, for a
trigger that fires every 5 min, this variable might return something like this 2017-
06-01T22:20:00.4061448Z, 2017-06-01T22:25:00.7958577Z, 2017-06-
01T22:29:00.9935483Zrespectively. (Note: The timestamp is by default in ISO
8601 format)
@trigger().outputs.windowStartTime Start of the window when the trigger was scheduled to invoke the
pipeline run. If the tumbling window trigger has a frequency of "hourly"
this would be the time at the beginning of the hour.
@trigger().outputs.windowEndTime End of the window when the trigger was scheduled to invoke the
pipeline run. If the tumbling window trigger has a frequency of "hourly"
this would be the time at the end of the hour.
Next steps
For information about how these variables are used in expressions, see Expression language &
functions.