GitHub user dave-csc added a comment to the discussion: Hop workflow issue: 
Process receives old rows instead of empty result after lookup

Hi @fcwojtul,

I signaled this as a bug (check #4559 and #4581), but it's probably Hop's 
normal behaviour.

A strategy to mitigate it, if you don't have to execute the next pipeline when 
you have no rows, would be modifying the previous one like this:
- split the stream with a **Dummy** transform, before the final Copy rows to 
result
- link a **Detect empty stream** to the Dummy transform, and then an **Abort** 
transform (I would also add a **Block until transform finish** between the two 
to catch the transit from Copy rows to result, in case you have some long 
operations pending)

In the parent workflow, you can catch the error stream and redirect that to 
other actions or pipelines.

Hope this helps :)

GitHub link: 
https://github.com/apache/hop/discussions/6059#discussioncomment-15037289

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to