Today we talk how to import and export workflows to and from your local workspace. KNIME workflows are saved with a special extension .knwf. KNIME workflow groups are saved with a special extension .knar. Supposing that you have such files to import, let’s see how we can do that. First of all, from the “File” menu, we have to select the file in the top menu. Select “Import KNIME Workflow…”, navigate to the file, and then follow the instructions to import the workflow. I am going to show that. First of all, let’s create a new workflow group, and let’s call it “demo” where we are going to save our important workflow. Now, I can go to “File”, “Import KNIME workflow. In the dialog to import the workflow in the KNIME Explorer, there are two options: from file or select root directory. File imports the .knwf file, or the .knar file. The “Select root directory” refers to another workflow from another workspace. “Select file”, here, then browse to my file. Select it. Here you have the overview of what’s going to be imported. Here you have the destination folder in the KNIME Explorer. I don’t want to have it under “LOCAL” but under “demo”, which I have just created. So I select it, and then “Finish”. And now under “demo” you have this “Advanced_Row_Filters”, which I have just imported. Now, if I right click my folder in the KNIME Explorer, I also find an “Import KNIME workflow…” command in the context menu. This “Import KNIME workflow….” command runs exactly the import dialog that we have seen before, it’s exactly the same. Okay, now let’s see how to export a workflow or a workflow group. Select the workflow group that you want to export, right click, and then “Export KNIME workflow…”. If you have selected a workflow group to export, you are going to generate a .knar file. Select here the path of the file. This is a preview of all the workflows that are going to be exported with this command. If everything is correct, then “Finish” and it gets exported. If you want to export only one workflow, select the workflow, right click, again “Export KNIME workflow…”, and this time a file knwf is going to be created and it’s going to contain the workflow. Here, there is an option “Exclude data from export.”. Every workflow in KNIME is saved with its status. So if the workflow was executed it’s going to be saved in its executed status with the data that have been generated by each node. If you want to save the file in it’s executed status and with the data that have been generated by each node, then you unclick this flag here. If you want to export the workflow in its reset status without any data generated by the nodes, then you enable this flag “Exclude data from export.” Of course, under “File” , export, you start with the same dialog for the export of the workflow or of a workflow group. Notice that double clicking a file with extension .knwf and .knar automatically opens the KNIME Analytics Platform and imports the workflow or workflow group in the local workspace. Another way to import a workflow into your KNIME Explorer is to copy it from a KNIME Server. The KNIME Server that everybody has in the KNIME Explorer panel is the EXAMPLES Server. So just right click the EXAMPLES Server and login. It doesn’t require any password. The EXAMPLES server contains a number of example workflows for you to use. So select your workflow, for example this one, and now drag and drop it into your local workspace. Drag and drop – it’s the equivalent of copying the workflow into your local workspace. If drag and drop for some reason is awkward to make, then just right click, select “Copy”, and then in the destination folder in your local workspace select it, right click, and then “Paste”. And this also copies the workflow that you have selected. Vice versa, to copy the workflow from your local workspace to a KNIME Server, you also just drag and drop it. To copy a workflow from your local workspace to the EXAMPLES Server is not possible, because the EXAMPLES Server is write-protected, but otherwise drag and drop also works in the opposite direction from your local workspace into the KNIME Server. These are the most common ways to import and export a workflow or a workflow group into or from the KNIME Analytics Platform. Through the import/export menu options – either from “File”, or from the context menu of a workflow or of a workflow group in the KNIME Explorer, or by drag and drop of a workflow to or from a KNIME Server.