You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
This is semantically incorrect, and a hack. The same can be said for job.complete() (which additionally would raise an error on the broker and on the client).
An alternative is to implement a job.cancelWorkflow() method that wraps this operation and can be returned like this:
returnjob.cancelWorkflow()
The text was updated successfully, but these errors were encountered:
Sometimes a worker makes a determination to cancel a workflow. With #210, the handler still needs to return a job action. A workaround is to do:
This is semantically incorrect, and a hack. The same can be said for
job.complete()
(which additionally would raise an error on the broker and on the client).An alternative is to implement a
job.cancelWorkflow()
method that wraps this operation and can be returned like this:The text was updated successfully, but these errors were encountered: