...
Each automation pipeline can have optional variables defined. A pipeline variable an can be declared at the very beginning of a pipeline in the vars:
section and then used inside the automation pipeline using the Pipeline Expression Language (PEL) and the vars
scope. Here is an example:
Code Block | ||
---|---|---|
| ||
vars: firstName: "Petra" pipeline: - body.set: "My first name is: ${vars.firstName}" |
...
Info |
---|
Note: It is good practise to declare every variable in the |
...