dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Doc][HTTP Plugins] How do downstream tasks reference the http response?

Open zhaiang opened this issue 9 months ago • 3 comments

Search before asking

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

Description

https://dolphinscheduler.apache.org/zh-cn/docs/3.4.0/guide/task/http 文章中说到,下游任务能够通过 ${taskName.response},请问具体如何进行引用呢?我拿不到http请求的返回结果;

Documentation Links

https://dolphinscheduler.apache.org/zh-cn/docs/3.4.0/guide/task/http

Are you willing to submit a PR?

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

Code of Conduct

zhaiang avatar Mar 04 '26 04:03 zhaiang

Search before asking

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

Description

https://dolphinscheduler.apache.org/zh-cn/docs/3.4.0/guide/task/http The article mentioned that downstream tasks can pass ${taskName.response}. How to reference it specifically? I cannot get the return result of the http request;

Documentation Links

https://dolphinscheduler.apache.org/zh-cn/docs/3.4.0/guide/task/http

Are you willing to submit a PR?

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

Code of Conduct

github-actions avatar Mar 04 '26 04:03 github-actions

Document description error, this function is not available at present. I will add this function in the next version.

SbloodyS avatar Mar 04 '26 06:03 SbloodyS

You can try using echo "${task1.response}" to get http node response. @zhaiang The document has been optimized and will be released in the next version.

SbloodyS avatar Mar 04 '26 07:03 SbloodyS