Workflow::activateFromWorkflowSequenceNumber Method [AX 2012]

Activates a workflow based on a workflow sequence number.

Syntax

server public static WorkflowCorrelationId activateFromWorkflowSequenceNumber(
    WorkflowSequenceNumber _workflowSequenceNumber, 
    RecId _recId, 
    WorkflowComment _initialNote, 
    NoYes _activatingFromWeb, 
   [WorkflowUser _submittingUser])

Run On

Server

Parameters

  • _activatingFromWeb
    Type: NoYes Enumeration
    A flag that signifies the origin of the submission.

Return Value

Type: WorkflowCorrelationId Extended Data Type
The WorkflowCorrelationId that points to the workflow instance.

Remarks

This method finds the enabled workflow configuration based on a workflow sequence number.

See Also

Reference

Workflow Class