dolphinscheduler0701/docs/docs/en/guide/parameter/project-parameter.md

868 B

Project-level Parameter

Scope

Project-level parameters are valid for all task nodes under the entire project.

Usage

Define project-level parameters

On the project page, click Project Parameters and Create Parameters, and fill in the parameter name and parameter value. As shown below:

project-parameter01

Use project-level parameters

Take the shell task as an example, enter echo ${param} in the script content, where param is the project-level parameter created in the previous step.

project-parameter02

Run the shell task. On the task instance page, you can view the task log to verify whether the parameters are valid.

project-parameter03