Skip to content

[Bug] [parameter passing] Local parameter passing of Stored Procedure to Shell not working in version 3.4.0 #17967

@honkerjha

Description

@honkerjha

Search before asking

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

What happened

I first tested with two Shell nodes:
In node1, I set an output parameter as a custom parameter with direction out, and executed echo '${setValue(output=123)}' in the script to assign a value to it.
In node2, I executed echo ${output} and set node1 as its upstream task.
when I added a custom parameter named output (direction in) to node2, node2 could print the parameter value normally.
However, it could NOT retrieve the output value when I modified node1 to a Stored Procedure node.
I set output as the output value of the upstream Stored Procedure node (node1).it could NOT retrieve the output value.

Node1 configuration:
Image

Node2 configuration
Image

It seems node1 successfully retrieved the return value: return123.
Image

But node2 output was empty.
Image

I tested the exact same operations in version 3.2.2, and there were NO such issues.

I followed the parameter passing section in the official documentation for version 3.4.0, so the syntax should be correct.

What you expected to happen

Local parameter passing of Procedure to Shell not working in version 3.4.0
It seems node1 successfully retrieved the return value: return123.
Image
But node2 output was empty.
Image

How to reproduce

Node1 configuration

Image

Node2 configuration

Image

Node1 return value

Image

node2 output

Image

Anything else

No response

Version

3.4.0

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

backendbugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions