Replies: 1 comment 1 reply
-
Hey @xjf729 , thanks for the question. Currently, there is no direct feature to call a function based on a change of electron status; although that would be a nice feature to have, it would be great if you could create an issue with a feature request tag and suggested UX (for instance would you like to do something in the remote machine where the execution is happening or on the place where the covalent server is running?) But having said that, we do have PS: If you want workflows to be dynamic based on the success or failure of previous electrons, i.e. you want your next electron to do something else based on the success of the previous electron, I would suggest you return inside the electron, a state variable and then use dynamic sublattice as shown in example here to build a new dynamic graph based on the status of the previous electron. |
Beta Was this translation helpful? Give feedback.
-
If I want to do something (invoke a python function) when a covalent.electron is failure or be cancelled, what's the suggested way to implement it.
Beta Was this translation helpful? Give feedback.
All reactions