Skip to content

A duplicate key property error occurs when defining two tasks with the same OUT parameter name in a process #16382

@fanzhenyu95

Description

@fanzhenyu95

Search before asking

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

What happened

I have defined a workflow that includes two tasks of the stored procedure type, each with an OUT parameter named "result". When executed, a duplicate key property error occurs.

7ef326ba1eac5ea8bc720293654e1e7

I have reviewed the source code, and the error is caused by the following line of code:

a835a46bc951e95c210461deef0ebb6

I suspect that this error is related to the up and downstream parameter passing function. How can I resolve this issue?

What you expected to happen

How can this error be avoided? Or, how can we support the scenario where the upstream and downstream stored procedure type tasks in a workflow have OUT parameters with the same name?

How to reproduce

Define a workflow that includes more than two tasks of the stored procedure type, each containing an OUT parameter with the same name, and then execute this workflow.

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions