The getExecutionDocuments function is matching attempting to resume documents that are waiting for an event (ie not a time based wait). This behavior is likely due to the scope query utilized in the unfiltered search. This search should be refactored to not utilize a scope query, and ensure it doesn't match event based waits.
The
getExecutionDocuments
function is matching attempting to resume documents that are waiting for an event (ie not a time based wait). This behavior is likely due to the scope query utilized in the unfiltered search. This search should be refactored to not utilize a scope query, and ensure it doesn't match event based waits.