Icon

Call Workflow - Main - Order

<p>Playing around with Call Workflow - main-workflow to "Call Workflow - Sub" with the new "KNIME Workflow Services" in a specific order<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: 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
URL: Call Sub Workflows in specific order - KNIME Forum (88987) https://forum.knime.com/t/call-multiple-workflows-one-after-each-other-with-waiting-until-they-finish/88987/9?u=mlauber71

Annotations and comments
  • Playing around with Call Workflow - main-workflow to "Call Workflow - Sub" with the new "KNIME Workflow Services" in a specific order 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-multiple-workflows-one-after-each-other-with-waiting-until-they-finish/88987/9?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
  • ../Call Workflow - Sub 01 call workflow from the same folder and send a table there => you might have to apply the settings from the "Call Workflow - Sub" once
  • ../Call Workflow - Sub 02 call workflow from the same folder and send a table there => you might have to apply the settings from the "Call Workflow - Sub" once
  • context.workflow.parent-path
  • path.separator.system length_parent_path= length(column("context.workflow.parent-path")) substr(column("context.workflow.parent-path"), length_parent_path-1, 1)
  • => paths
  • create /data/ folder if it does not exist
  • context.workflow.absolute-path context.workflow.path context.workflow.name
  • context.workflow.data-path
  • data-path
  • path variables
  • Date_Time1
  • Date&Time

Nodes

Extensions

Links