dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Question] Parameters cannot be passed to the next shell task.

Open gavinju opened this issue 2 months ago • 3 comments

Search before asking

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

What happened

Parameters cannot be passed to the next shell task, The log contains the following information: Set taskVarPool: null successfully.

  1. Overall workflow definition Image
  2. TaskA is defined as follows:
Image 3. TaskB is defined as follows: Image
  1. The execution log of TaskA is as follows:
Image 5. The execution log of TaskB is as follows: Image

What you expected to happen

The execution log of TaskB is as follows,The output should be 100 and 20. Image

How to reproduce

As shown in the screenshot above

Anything else

No response

Version

3.3.2

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

gavinju avatar Nov 07 '25 22:11 gavinju

Try using echo ${lines_num} in task B. I've test it work well.

SbloodyS avatar Nov 08 '25 01:11 SbloodyS

I have the same problem as you, the parameter passing does not work.

LinCoder2596 avatar Nov 22 '25 03:11 LinCoder2596

you can see this:https://github.com/apache/dolphinscheduler/issues/17639

yaowanli avatar Dec 05 '25 08:12 yaowanli