Management - Versioning and Workflow Difference
In the last two chapters you’ve learned how to connect, deploy, and automate your tasks using KNIME Server. The goal of this chapter is to show you additional functionality to manage your projects.
When updating and overwriting a workflow on KNIME Server, you have the option of saving the previous version as a snapshot. This functionality is called versioning. Video 1 of this section gives you an overview of the versioning options on KNIME Server and how you can use them.
Once you have different versions of a workflow, you might want to investigate the differences. Here, the Workflow Difference and the Node Comparison views come in handy. Video 2 and 3 of this section introduce this functionality, which is especially helpful in combination with versioning.
Video: Workflow Comparison
Video: Node Comparison
Test your Knowledge
1. What is a snapshot?
A. A part of a workflow
B. A previous version of a workflow
C. A previous version of a job
D. A JPEG image of a workflow
2. How do you create a snapshot?
A. KNIME offers you the chance to create a snapshot whenever you save a workflow locally
B. KNIME offers you the chance to create a snapshot whenever you try to overwrite a workflow on KNIME Server
C. KNIME offers you the chance to create a snapshot whenever you save a job in the Remote Workflow Editor
D. You can define whether or not to create a history whenever you upload a workflow to KNIME Server for the first time
3. Which of the following is true for downloading workflows to your local workspace?
A. You can only download the latest version of the workflow
B. You can only download a workflow as a workflow group that contains all snapshots of the workflow
C. You can download a workflow and inspect its snapshots locally
D. You can download the latest version, or any snapshot of the workflow
4. How can you use the Workflow Difference view to compare two workflows?
A. Select two jobs in the KNIME Explorer, right click the selection and select “Compare” in the menu
B. Select two workflows in the KNIME Explorer, right click the selection and select “WorkflowDiff” in the menu
C. Select two workflows in the KNIME Explorer, right click the selection and select “Compare” in the menu
D. Select as many workflows as you want to compare in the KNIME Explorer, right click and select “WorkflowDiff”
5. What does a gray background of a node in the Workflow Difference view mean?
A. The node has been removed from the workflow
B. The node has unsaved changes
C. The node configuration is different in the workflows that you compare
D. The node execution throws an error
6. How can you compare components in the Workflow Difference view?
A. You cannot compare components; they are not shown in the view
B. You can compare nodes inside components in the same way as all other nodes
C. You can only see if the components in two workflows are identical
D. You can see the differences in the component configuration, but not the exact differences inside two components
7. Which of the following statements is true? (3 answers are correct)
A. The node comparison view allows you to compare the settings of two nodes in a component
B. The node comparison view allows you to compare node settings for two nodes in the same workflow
C. The node comparison view allows you to compare the java code of two nodes
D. Different settings are highlighted in grey
E. Different settings are highlighted in red
8. What happens if you change the configuration of a node while the node comparison view is active?
A. The view shows the current configuration, if you click the “Refresh” button
B. The view shows the current configuration, if you save the changes
C. You’ll have to reselect the nodes for comparison to update the view
D. You cannot change the configuration of the nodes that are currently selected for node comparison
Solution: 1 = B; 2 = B; 3 = D; 4 = C; 5 = C; 6 = D; 7 = A, B, E; 8 = A
Thank you for completing our KNIME Server E-Learning Course. Feel free to share it with your colleagues and friends. Please let us know whether this course was helpful and how we can improve the course to fit your needs. We’ll also be adding new chapters over time, so make sure to check back in every now and then!
If you’re interested in a KNIME Server trial license, please contact us at email@example.com