Evaluate value channel content, stop if channel value <= 3 #3769
-
I have a file that is generated in a process that filters the data based on a parameter given by the user. I want to make sure that the pipeline stops when it sees that the number of rows in the resulting file is <= 3. However, I have not managed to implement this yet, and I am unsure how. I'd like it to work something similar to this:
Not sure if this is the best way to handle these things though, I appreciate any help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
You can have a |
Beta Was this translation helpful? Give feedback.
You can have a
when
block in your process whose conditional expression is based on opening the file (that I believe is an input to this process) and checking how many rows it contains. This way, if the file contains<N
rows, the process won't instantiate a task.