Check for previous condition and stop workflow

Hi there,

Just a quick question, how can I make knime check for a certain condition from a previous node, and if that condition is found, stop the progression of the workflow/pipeline? Have you a node which can do this?

Thanks in advance for your help,

Stanage

Hi stanage,

Not really. The only thing, you could write your own node, that checks the condition (based on the incoming data table) and then fail, if the condition is met. Not really nice, though.

Thorsten

Hi Thorsten,

I thought as much. I will have to write one.

Stanage.

Hi Thorsten,

How can I let the node complete the processing, so that the datagrid is formed, and can be viewed, but the node is forced into a stopped state because the condition has been met?

Thanks in advance for your help,

Stanage

stanage wrote:
How can I let the node complete the processing, so that the datagrid is formed, and can be viewed, but the node is forced into a stopped state because the condition has been met?

That is currently not possible. Either the node creates an output table and the flow continues, or the node "fails" and stops the flow but does not create an output table.

Thorsten

Thanks Thor.

I always ask the tricky questions. I will have to have a think about this one.

Stanage.

Note that starting with KNIME 2.0 it will be possible for nodes
to return from execution "unfinished" but without actually
failing (loop end nodes do that for example until the loop
is finally finished).

- Michael

PS: jep, 2.0 will come out this fall (we are targetting late October)

berthold wrote:
PS: jep, 2.0 will come out this fall (we are targetting late October)

Hear, hear! :-D

E.