Icon

01.Deploying Schedule - Solution

<p>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.</p>
Annotations and comments
  • Part 1 - KNIME Business Hub Exercise 01 Deploying a Schedule
  • 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 folder Part 1 to your space on KNIME Business Hub. Make sure to include the workflows and the data. Version the workflow on KNIME Business Hub. Schedule an execution of this workflow: 2 min later, send yourself a notification on successful/unsuccessful execution, In Advanced settings, select the User execution scope, and create the deployment (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 of the workflow and upload the fixed version to KNIME Business Hub. Create a new workflow version. 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.
  • The Reader node is configured with a LOCAL mountpoint relative path. Therefore, it works locally, but fails to find the path on the Hub. Change the path to the workflow relative path and select the Data folder with the path '../Data/filename' PULL FOR THE SOLUTION
  • Renaming pivot columns
  • Orders after 01.01.2019
  • Month & Quarter
  • Select column Date
  • Reading customer transaction data
  • Create a new column as a combination: "Year/Quarter"
  • 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

Nodes

Extensions

Links