Icon

Call Workflow - Main

<p>Playing around with Call Workflow - main-workflow to "Call Workflow - Sub" with the new "KNIME Workflow Services"<br></p><p>two ways to communicate data with the sub-workflow: just send the data there or save a data file and send the path to the sub workflow (might also be static)</p>

URL: (45698) first forum entry https://forum.knime.com/t/use-data-from-another-worklow-into-current-workflow/45698/2?u=mlauber71
URL: Call sub workflow from a mother KNIME workflow https://kni.me/w/uPGki0nVinczB7SZ
URL: (48189) second forum entry https://forum.knime.com/t/call-workflow-table-based-not-accepting-variable-with-path/48189/6?u=mlauber71
URL: Run multiple instances of another workflow in parallel https://hub.knime.com/-/spaces/-/~7olAIqh7Cqf6h8x_/current-state/
URL: Medium: KNIME, Paths and Loops — Automate Everything https://medium.com/low-code-for-advanced-data-science/knime-paths-and-loops-automate-everything-213455788685

Playing around with Call Workflow - main-workflow to "Call Workflow - Sub" with the new "KNIME Workflow Services"
two ways to communicate data with the sub-workflow: just send the data there or save a data file and send the path to the sub workflow (might also be static)


https://forum.knime.com/t/call-workflow-table-based-not-accepting-variable-with-path/48189/6?u=mlauber71

In order to get a Workflow Service Input / Output other than the table connection you have to:

  • drag the connection of the type you want from the previous node

  • until a transparent plus sign appears

  • then you search for the "Workflow Service Output"

  • when you click this it will change the type from table to the type you were just dragging along ....

THX to Linh for this insight ...


https://forum.knime.com/t/call-workflow-table-based-additional-table-input-ports-possible/83894/2?u=mlauber71

Workflow Service Input
Table Creator
Workflow Service Output
VAR1 multiplied by 20
Joiner
../data/test.table
Table Writer
URI
Path to URI
var_saved_filepath where thefile was saved
Variable to Table Row
File pathmust seemingly be transferedas full path and stringto thesub-workflow
Table Row to Variable
var_workflow_path
Java Edit Variable (simple)
Create Date&Time Range
URL to File Path
../Call Workflow - Subcall workflow from the same folderand send a table thereand some Flow Variables ...=> you might have to apply the settings from the"Call Workflow - Sub" once
Call Workflow Service
File_path
Column Rename (deprecated)
Date_Time1
Constant Value Column
locate and create /data/ folder with absolute paths
Collect Local Metadata
Date&Time
Table Row to Variable
_locationof the Sub workflow
String to Path (Variable)
../new_file.table=> file writtenin the sub-workflow"workflow_sub"
Table Reader
File_path_2
Table Row to Variable
Merge Variables
File_path_2
String to Path (Variable)

Nodes

Extensions

Links