Interactive View: Add execution pause node to prevent full execution

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