marklogic-community / marklogic-state-conductor

An event-based state-machine engine for manipulating MarkLogic database documents.
Other
1 stars 4 forks source link

getExecutionDocuments attempting to resume event based wait states #190

Open aclavio opened 3 years ago

aclavio commented 3 years ago

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.