Hi, I am new to flyte and was curious whether it w...
# flyte-support
w
Hi, I am new to flyte and was curious whether it was possible to listen to flyte execution. For instance run specific code when state changes to failed or succeed?
d
you can use failure node or conditional workflow.
f
@worried-lizard-99900 yes it is Flyte ships with an eventing system. For every state transition you can listen programmatically- it uses cloud events
w
But what if I need to update database field that contains information about the execution state, and to do this I need to send POST request to the endpoint? Do cloud events have execution_id for instance?
f
Yes
Cloudevents have all information
We are working on an outgoing webhook system soon
You can always poll for execution