Question regarding a workflow with multiple outputs #4643
-
I have a workflow where its last step has a process with multiple channels, but when I try to use the output, i get the error:
the workflow is
where the process1 has an output like this
the idea behind is that the tuple part will keep being processed by a second workflow, while the json and html file will be used for second and third different workflows. Any help is appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Because your process has multiple output channels,
And of course you can name those outputs and access them by name, and you can select which outputs you want to emit from the workflow. |
Beta Was this translation helpful? Give feedback.
-
I try to avoid tuples for simplicity, but just use name prefixes. In any event, I write output like this from process1
and if I want to use that output from
|
Beta Was this translation helpful? Give feedback.
Because your process has multiple output channels,
process1.out
is a multi-channel and cannot be emitted as a workflow output. Instead, you should emit each process output separately in the workflow:And of course you can name those outputs and access them by name, and you can select which outputs you want to emit from the workflow.