apache / dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code
https://dolphinscheduler.apache.org/
Apache License 2.0
12.39k stars 4.49k forks source link

[Bug] [dolphinscheduler-master] The environment is specified when running the workflow, and the environment defined in the task will not be replaced. #16191

Closed AlanZQ closed 5 days ago

AlanZQ commented 1 week ago

Search before asking

What happened

task的环境判断条件应该是用-1作为判断条件,而不是用isNull。 5851718869034_ pic

What you expected to happen

task的环境判断条件应该是用-1作为判断条件,而不是用isNull。 图片中的代码判断条件有误

How to reproduce

docker 3.2.1 镜像,standalone模式启动,直接页面上新建两个环境,新建一个工作流,切换环境执行,不会切换

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

Code of Conduct

github-actions[bot] commented 1 week ago

Search before asking

What happened

The environment judgment condition of the task should use -1 as the judgment condition instead of isNull. 5851718869034_ pic

What you expected to happen

The environment judgment condition of the task should use -1 as the judgment condition instead of isNull. The code judgment conditions in the picture are incorrect

How to reproduce

Docker 3.2.1 image, start in standalone mode, create two environments directly on the page, create a new workflow, switch environments for execution, and will not switch

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

Code of Conduct