How To Pause, Resume or Terminate Workflows
# Pause a workflow
You can always pause a running workflow. You can still send an event to a paused workflow, and tasks that have already been dispatched will be still be processed, but nothing new will be dispatched until the workflow is resumed.
Pausing a running workflow can be done:
- using Zenaton SDK from a node.js application
- using Zenaton API from an application in another language
- from a 3rd party service
- from a workflow
# Resume a workflow
At any moment, you can resume a paused workflow.
Resuming a paused workflow can be done:
- using Zenaton SDK from a node.js application
- using Zenaton API from an application in another language
- from a 3rd party service
- from a workflow
# Terminate a workflow
You can always terminate a workflow. Events sent to a terminated workflow will be ignored. Tasks that have already been dispatched will still be processed.
Terminating a running workflow can be done:
- using Zenaton SDK from a node.js application
- using Zenaton API from an application in another language
- from a 3rd party service
- from a workflow