Article: AN0002089Updated: 21.09.2018
This method suspends a running workflow. For workflow suspension from 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 right on the operation Start workflow.
Suspension can be used for a temporary pausing of all the activities in a running workflow. All the task that are not completed yet are hidden and workflow is not processed.
Definition
OGWorkflowSeqResult PauseWorkflowSeq(int workflowSeqRunId)
In order to pause a running workflow instance you have to know its workflowSeqRunId. This is returned by calling method RunWorkflowSeq in the property WorkflowSeqRunId.
You can pause only a running workflow. Otherwise an error occurs.