Workflow output to stop bonsai execution after a number of events has been reached #2089
-
Hi everybody, Does anyone know why I can't trigger it with the event count? I am also open to suggestions of a different method to end the workflow when a certain number of events is reached |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You need to complete the sequence somehow. The easiest would be to use a Take(N) after your condition, where N equals the number of events you want to record before closing the sequence and, as a consequence, Bonsai. |
Beta Was this translation helpful? Give feedback.
-
Great! that works. Here is a solution using Take Until in case anyone wants to use something similar: Thanks for your help! |
Beta Was this translation helpful? Give feedback.
You need to complete the sequence somehow. The easiest would be to use a Take(N) after your condition, where N equals the number of events you want to record before closing the sequence and, as a consequence, Bonsai.