Canceling workflow instances

Workflows can be canceled by external events or by manual intervention of an administrator. These are the options to cancel a workflow:
  • By an external application sending a Process Workflow BOD with action Change and status Cancelled.

    See the application documentation and ProcessWorkflow message patterns.

  • By a Workflow Activation Policy of type Cancel, when a Sync event has been received that matches the cancelation rule.

    See Activation policies.

  • By the Administrator using the manage pages in ION Desk. This option should be used only as a fall back mechanism when it is required to control the system's behavior.

    See Canceling a workflow instance.

  • By a user in Infor Ming.le, if the workflow was started by the same user. For details, see the Infor Ming.le documentation.
  • If the workflow was started from another workflow it can be canceled when:
    • It is modeled on a branch of a join one-in step and this branch is canceled.
    • The main workflow is canceled.
    • The main workflow fails.
  • If the workflow was started through the /workflow/start API call, it can also be canceled by the application that started it. To cancel the workflow, use the /workflow/cancel API from the /process/application endpoint. An application is identified by its logical ID.
  • By a workflow schedule with an action to cancel a running workflow when a new instance is started.

    See Workflow schedules.