Article: AN0002062Updated: 16.10.2018
This method cancels the workflow. In order to cancel a workflow via web service there has to be set Enable access via web services in the workflow definition. Furthermore, the user that calls the method has to have access rights on the operation Start workflow.
Definition
OGWorkflowSeqResult CancelWorkflowSeq(int workflowSeqRunId)
In order to cancel a workflow you have to know its workflowSeqRunId. This is returned by calling the method RunWorkflowSeq in the property WorkflowSeqRunId.
You can cancel only running or paused workflow. Otherwise, an error occurs.