getExecutionDocuments shouldn't attempt to resume waiting executions that have failed
Opened this issue · 0 comments
aclavio commented
If an execution fails in a "wait" state, then it retains it's "currentlyWaiting" data, causing the "getExecutionDocuments" function to pick it up. This results in many noop attempts to process that failed document wasting time.
The code in "getExecutionDocuments" should only look to resume executions in the "waiting" status.