Back to Dolphinscheduler

Project-level Parameter

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

3.4.2912 B
Original Source

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, select the appropriate parameter value type. As shown below:

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.

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