Interactive View: Add execution pause node to prevent full execution

Hi,

the interactive view, especially when the workflow is used as a DataApp, I prefer for configuration (i.e. data-time ranges). However, in order to open the interactive view, the corresponding component must be fully executed.

That causes a few issues:

  1. Unnecessary execution (waste of compute power / units and time)
  2. Possible execution problems if input is invalid
  3. Difficult debug if the target audience goal is “consumption” only

Therefore, I’d like to propose to introduce a pause execution node.

Best
Mike

Just an FYI - Alongside this solution of mine:

I explored the options available:

  1. Wait Node: Create a “wait file” using Wait... – KNIME Community Hub and wait for its’ deletion
    Problem: Interactive View will nto open
  2. Try-Catch with Breakpoint: Could work but is rather complex
  3. Use a Sumit in combination with a swtich
    Works: It mitigates the issue with the wait node and is very simple to setup

Java Code for the Java IF Table Switch
`return $${Istart-processing-counter}$$.equals(0) ? 0 : 1;`

How it works?

  • Upon first execution the counter for the submit is 0
  • This causes the processing the get skipped
  • Upon “Start” is pressed, processing begins

This allows to preview without writing any data.

FYI @iCFO as I suppose you requested something in:

2 Likes