Skip to content

Commit

Permalink
Update dsl.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ricardo Zanini <1538000+ricardozanini@users.noreply.github.com>
  • Loading branch information
matthias-pichler and ricardozanini authored Aug 29, 2024
1 parent 46f6dfb commit 00061a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsl.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ The input data for the task can be transformed to match the specific requirement
*Example: If the task is a function call that only needs a subset of the workflow input, a transformation can be applied to provide only those fields needed for the function to execute.*

5. **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. It evaluates on the raw task output and defaults to the identity expression, which leaves the output unchanged. Its result will be input for the next task.
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. It evaluates the raw task output and defaults to the identity expression, which leaves the output unchanged. Its result will be input for the next task.

*Example: If the task returns a large dataset, a transformation can be applied to retain only the relevant results needed for subsequent tasks.*

Expand Down

0 comments on commit 00061a9

Please sign in to comment.