Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Cancel all started tasks

By calling this endpoint, all the started tasks across all nodes will be reopen or reopen and executed if they are automatic tasks.

Info
iconfalse
titleRest call

PUT http://<host>:<port>/<runtime_name>/api/v1/scheduler/tasks/cancelStarted

Setting the property blueriq.processengine.cancel-started-tasks to true when running in a multi-node environment might cause problems because if the cancellation of started tasks triggered by one node might not know that a specific task could be still in progress on another node and it might cancel it.

Cancel all started tasks endpoint was created in order to avoid these types of situations.

Info

The endpoint overrules the blueriq.processengine.cancel-started-tasks property.