Icon

01. Deploying_Schedule_Solution

Annotations and comments
  • Learning objective: In this exercise you will learn how to move a workflow to production in KNIME Business Hub. Workflow description: This workflow asks you to upload a report builder workflow onto KNIME Business Hub, schedule an execution for it, fix a bug, version the fixed version, and then finally re-execute it. You'll find the instructions to the exercises in the yellow annotations.
  • Step 1. Uploading the workflow to KNIME Business Hub Add the KNIME Business Hub mountpoint. Upload the workflow group Exercise to KNIME Business Hub, inside your space. Make sure to include the workflow and the data. Schedule an execution of this workflow (2 min later) and send yourself a notification on successfull/unsuccessful execution. (Spoiler) The workflow will fail. Open the workflow job on KNIME Business Hub and recognize the error It's time to fix the bug! Edit the local copy and upload the fixed version. Create a new space version via the browser UI. Execute again the workflow on KNIME Business Hub and check the produced results.
  • Report Builder This workflow reads customer sale data and builds a multi-page reports with insights for each customer group. The workflow is ready to be deployed as a schedule and run at specific intervals e.g. once a week.
  • SOLUTION The Reader node is configured with a LOCAL mountpoint relative path. Therefore, it works locally, but fail to find the path on the hub. Change the path to workflow relative and select the Data folder with the path '../data/filename'
  • Renaming pivot columns
  • Orders after 01.01.2019
  • Month & Quarter
  • Select column Date
  • Reading customer transaction data
  • Replace missing values with zeros
  • Groups: Quarter, Year Pivot: StoreType Aggregation: sum of Price
  • Saving the report as a PDF file
  • Setting the size and the orientation of the report
  • Total Sales for each StoreType plotted quarterly
  • Header
  • Create a new column as a combination: "Year/Quarter"

Nodes

Extensions

Links