Workflow::cancelWorkflow Method [AX 2012]

Cancels a workflow instance.

Syntax

server public static void cancelWorkflow(WorkflowCorrelationId _workflowCorrelationId, [WorkflowComment _workflowComment])

Run On

Server

Parameters

Exceptions

Exception Condition
Error

The specified workflow instance could not be found.

-or-

The root workflow instance could not be found.

See Also

Reference

Workflow Class