WorkflowContext::newSubWorkflowContext Method [AX 2012]

Creates an instance of a sub-workflow WorkflowContext class.

Syntax

client server public static WorkflowContext newSubWorkflowContext(
    CompanyId _companyId, 
    RefTableId _tableId, 
    RefRecId _recId, 
    WorkflowCorrelationId _rootCorrelationId, 
    WorkflowCorrelationId _parentCorrelationId, 
    WorkflowCorrelationId _workflowCorrelationId, 
    WorkflowSubWorkflowId _subWorkflowId)

Run On

Called

Parameters

Return Value

Type: WorkflowContext Class
An instance of the WorkflowContext class.

See Also

Reference

WorkflowContext Class