Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature][Task Plugin] Add Dynamic task to generate dynamic worklfows with list parameters #14125

Closed
3 tasks done
jieguangzhou opened this issue May 17, 2023 · 1 comment · Fixed by #14127
Closed
3 tasks done
Assignees
Labels
3.2.0 for 3.2.0 version feature new feature

Comments

@jieguangzhou
Copy link
Member

jieguangzhou commented May 17, 2023

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

DOC: https://github.com/jieguangzhou/dolphinscheduler/blob/feat/task-plugin-dynamic/docs/docs/en/guide/task/dynamic.md

image image

We can get the output with ${dynamic.out(taskName)} like this

[
    {
        "dynParams":{
            "a":"a1",
            "b":"b1"
        },
        "outputValue":{
            "p":"a1-b1"
        },
        "mappedTimes":1
    },
    {
        "dynParams":{
            "a":"a2",
            "b":"b1"
        },
        "outputValue":{
            "p":"a2-b1"
        },
        "mappedTimes":2
    },
    {
        "dynParams":{
            "a":"a3",
            "b":"b1"
        },
        "outputValue":{
            "p":"a3-b1"
        },
        "mappedTimes":3
    }
]
image

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@jieguangzhou jieguangzhou added feature new feature 3.2.0 for 3.2.0 version labels May 17, 2023
@jieguangzhou jieguangzhou self-assigned this May 17, 2023
@github-actions
Copy link

Thank you for your feedback, we have received your issue, Please wait patiently for a reply.

  • In order for us to understand your request as soon as possible, please provide detailed information, version or pictures.
  • If you haven't received a reply for a long time, you can join our slack and send your question to channel #troubleshooting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.2.0 for 3.2.0 version feature new feature
Projects
None yet
1 participant