"restart" node in bonsai #2149
-
Is there some functionality in bonsai code to restart the entire workflow after it has been run? i.e. equivalent to clicking on the "Restart" button. So basically if some event is triggered within the workflow while it is running, it can restart the entire thing. Thanks again! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hmm there is no way to do it within the Bonsai editor I believe. Could you describe why/what you want to achieve, there might be a way to achieve what you want without having to restart the entire workflow. |
Beta Was this translation helpful? Give feedback.
-
@edmundchong maybe one way to think about it is to wrap your entire workflow inside a GroupWorkflow, with the event you want going into a WorkflowOutput node after a Take(1). Then you can simply add a Repeat node after the group at the top-level workflow. |
Beta Was this translation helpful? Give feedback.
@edmundchong maybe one way to think about it is to wrap your entire workflow inside a GroupWorkflow, with the event you want going into a WorkflowOutput node after a Take(1).
Then you can simply add a Repeat node after the group at the top-level workflow.