Workflow::activateFromWorkflowSequenceNumber Method [AX 2012]

Activates a workflow based on a workflow sequence number.

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

Run On

Server

Parameters

_workflowSequenceNumber
Type: WorkflowSequenceNumber Extended Data Type
The workflow sequence number to start.
_recId
Type: RecId Extended Data Type
The record ID that points to the document record.
_initialNote
Type: WorkflowComment Extended Data Type
The comments that should be associated with the started workflow.
_activatingFromWeb
Type: NoYes Enumeration
A flag that signifies the origin of the submission.
_submittingUser
Type: WorkflowUser Extended Data Type
The user submitting the document to workflow; optional.

Return Value

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

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

Show: