Icon

00.Orchestration - Exercise

The workflows in this workflow group create a complete, deployable application for collecting and analyzing user feedback.

Below is a summary of the orchestration schema, together with workflow services eventually called by a workflow. Notice that each workflow has a different execution triggerer (in green).

Annotations and comments
  • Part 5 - Best Practices Exercise 02 Orchestration
  • Learning objective: In this exercise, you'll learn how to configure and orchestrate multiple workflows interacting with each other. Workflow description: The workflows in this folder create a complete, deployable application for collecting and analyzing user feedback. The data collection is perfomed by 01.Form Data App. Once a day 02.Feedback Analyzer reads the latest feedback and appends its sentiment prediction. This information, along with user data, is collected in a pdf report for the system admin by 03.Generate Daily Recap Report. Meanwhile, 04.Email Unsubscribers Update takes care of updating the list of users who opt out of receiving emails. Below is a summary of the orchestration schema, together with workflow services eventually called by a workflow. Notice that each workflow has a different execution trigger (in green). You'll also find the instructions to the exercise in the yellow annotation.
  • Data Collection
  • Step 1. Deployment and orchestration Upload the Part 5b - Orchestration folder to KNIME Business Hub. Reset the workflows before upload. Configure Workflow Schedules: 02.Feedback Analyzer everyday at 12:00 (note that this workflow calls 03. Generate Daily Recap Report after a waiting time of 30 seconds) In Advanced settings, select the User execution scope, and create the deployment Test: Manually trigger daily report creation: Configure the above for an immediate execution of 02.Feedback Analyzer. During waiting time, manually execute 04.Email unsubscribers update. A new report is created in the Daily Reports folder. In case of Error 422, see Troubleshooting annotation.
  • 01.Form Data App Collect user information and feedback via interactive form.
  • USER INTERACTION (Data App)
  • Workflow Service 1 Form Update Save form new entries.
  • CALLER WORKFLOW (01.Form)
  • 04. Email Unsubscribers Update Update list file.
  • EXTERNAL CALLER (several times a day)
  • Data Analysis
  • 02. Feedback Analyzer Append sentiment to latest feedback
  • Error Execute failed: 422 Execution context "xyz" not found when executing on Business Hub Open the remote workflow in KNIME Analytics Platform Connect to the Hub Navigate to the space where you have uploaded the workflow (note the cloud icon in the tab) Double click to open the remote workflow locally Open the Call Workflow Service node and make sure that a valid execution context is selected If you cannot select the execution context, it means that you have opened the local workflow, not the remote one Save and overwrite the workflow and try again the execution TROUBLESHOOTING ERROR 422 (PULL)
  • SCHEDULE (once a day)
  • CALLER WORKFLOW (02.Feedback_An.)
  • Workflow Service 3 Daily Recap Report Create feedback report.
  • Workflow Service 2 Sentiment Predictor. Calculate sentiment of given feedback
  • WAIT.. (04.Email unsubs. list update)

Nodes

  • No nodes found

Extensions

  • No modules found

Links