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 cancellation rule. 
            
See Activation policies.
 - By the Administrator using the manage pages in ION. This option should be used only as a fall back mechanism when it is required to control the system's behavior.
 - By a user in Infor OS Portal, if the workflow was started by the same user. For details, see the Infor OS Portal 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.
 
 - Workflow can be canceled using the /workflow/cancel API from the /process/application endpoint, regardless of the starting source. 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.