Add how-to guide to help users when using data flow and transformations#291
Draft
mcruzdev wants to merge 1 commit intoquarkiverse:mainfrom
Draft
Add how-to guide to help users when using data flow and transformations#291mcruzdev wants to merge 1 commit intoquarkiverse:mainfrom
mcruzdev wants to merge 1 commit intoquarkiverse:mainfrom
Conversation
|
🚀 PR Preview d304a6f has been successfully built and deployed to https://quarkiverse-flow-pr-291-preview.surge.sh |
fjtirado
reviewed
Mar 4, 2026
| [[export-as]] | ||
| === 2.2 `exportAs` – pass data to the next step | ||
|
|
||
| `exportAs` controls what the task **exports** for downstream consumers (the next |
Contributor
There was a problem hiding this comment.
exportAs controls what is set in the shared workflow context, I think this description is kind of confusing
outputAs control what is set for the next task.
Member
Author
|
Additionally we have several pull request that improve the DevX when using
|
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
mcruzdev
commented
Mar 11, 2026
| System.out.println("Score calculated having the result as: " + score); | ||
| return score; | ||
| }, Proposal.class) | ||
| .outputAs((Long score) -> { |
Member
Author
There was a problem hiding this comment.
Hi @fjtirado the outputAs should extract the Long score from the task output or from the WorkflowContext#context?
Member
Author
There was a problem hiding this comment.
Looking the documentation I got this one:
Transform Task Output After completing the task, its output can be transformed before passing it to the next task or storing it in the workflow context. Transformations are applied using the output.as runtime expression.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Closes #290
Blocked: Waiting a new release from sdk-java