Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    • <variable> is a string expression for the name of the variable.
    • label=<label> (optional) is the label of an instruction for which the variable is recalled. Note that the label is not quoted. Example: label=A.
    • job=<job> (optional) is the name of a job for which the variable is recalled. Note that the job name is not quoted. For example: job=MYJOB.
      • label and job cannot be specified at the same time
    • default=<default> (optional) specifies the default value if the variable does not exist.

...

Expression
variable( "my_var", job="my_job" job )
JSON"variable( \"my_var\", job=\"my_job \" )"
CommentThe value of the variable my_var is returned as available with the job my_job in a workflow. If the variable is unknown then the function fails.

...