Has anyone encountered Workflows failing
Has anyone encountered Workflows failing with the following error:
(instance.in_finite_state) Instance reached a finite state, cannot send events to it
10 Replies
Hey 👋 , this means that your instance has completed or errored (or was terminated) before you sent your event to it.
Interesting. The Workflow in question doesn't receive events, but instead is supposed to send them. I'd think there would be an error if it failed, no?
The caller of sendEvent should receive an error if the instance that should receive the event is in a terminal state.
Isn't that the case with yours? (not sure if I understood)
I have parent-child workflows setup, where the parent will spawn other workflows and wait for them to finish with waitForEvent. As far as I can tell, the parent is still waiting when the child fails with that error. See attached for the most recent time I encountered it.


Can you send me the instance ids? You can just link me to both dash pages I can get instance ids from there
Yeah I've had this but it tends to be when one of the workflow internal errors happens
@avenceslau Wanted to followup to see if you had any thoughts
Not yet will investigate as soon as I can sorry about that
No worries! Thanks a lot