Workflow Writer

This node writes a workflow from a port object into a folder or an exported KNIME workflow (.knwf) archive.

This node can access a variety of different file systems. More information about file handling in KNIME can be found in the official File Handling Guide.

Options

Folder
Enter a path to a folder where the workflow should be written to.
Create missing folders
If enabled, missing folders in the specified path will be created automatically.
If exists
Specify the behavior of the node in case the output file already exists.
  • Fail: Will issue an error during the node's execution to prevent unintentional overwrite.
  • Overwrite: Will replace any existing workflow.
Use custom workflow name
If checked, a custom workflow name is used as specified below.
Custom workflow name
A customizable name for the to-be-written workflow.
Output
Select how the workflow should be written.
  • Write workflow: If selected, the workflow will be written into a folder and the KNIME Explorer view will be refreshed.
  • Write workflow and open in explorer: If selected, the workflow will be written into a folder, the KNIME Explorer view will be refreshed and the written workflow will be opened in KNIME Analytics Platform.
  • Export workflow as knwf archive: If selected, the workflow will be written as a .knwf archive, just as if it were exported from KNIME Analytics Platform. This archive can be imported into other installations of KNIME Analytics Platform.
Update links of components and metanodes
Whether to update linked metanodes and components before writing the workflow segment. If this is enabled and links are also set to be disconnected, the metanodes/components will first be updated and then disconnected.
Disconnect links of components and metanodes
Whether to disconnect (remove) links of linked metanodes and components before writing the workflow segment.
Add input nodes
Allows one to add input nodes connected to the workflow inputs prior to writing. Depending on the selected node, there is a limited set of options available to pre-configure the node to be added. Furthermore, if tabular input data is stored with the input, it is used as example input data for added input nodes.
  • Node type: The type of node to add for this input.
  • Parameter name: The name of the input node parameter.
Add output nodes
Allows one to add output nodes connected to the workflow outputs prior to writing. Depending on the selected node, there is a limited set of options available to pre-configure the node to be added.
  • Node type: The type of node to add for this output.
  • Parameter name: The name of the output node parameter.

Input Ports

Icon
The workflow to be written.
Icon
The file system connection.

Output Ports

This node has no output ports

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.