marklogic-community / marklogic-state-conductor

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

Fail tasks should move the job into the Failure status #77

Closed aclavio closed 4 years ago

aclavio commented 4 years ago

Jobs that terminate in a "Fail" type state should be moved to the "failure" status. Currently they will end up with the "complete" status.

As of v0.6.0 only exceptions will trigger a job to enter the "failure" status. Do we want to maintain a new status ("error") for jobs the fail due to an exception vs jobs that terminated in a "Fail" state?