Workflow::recallWorkflow Method [AX 2012]
Recalls a line item workflow instance.
Syntax
server public static void recallWorkflow(WorkflowCorrelationId _workflowCorrelationId, [WorkflowComment _workflowComment])
Run On
Server
Parameters
- _workflowCorrelationId
Type: WorkflowCorrelationId Extended Data Type
The correlation ID of the workflow instance to resume.
- _workflowComment
Type: WorkflowComment Extended Data Type
The comment that is associated with recalling the workflow instance; optional.
Exceptions
Exception | Condition |
---|---|
Error | A workflow instance could not be found. -or- A root workflow instance could not be found. |