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
- _companyId
Type: CompanyId Extended Data Type
- _tableId
Type: RefTableId Extended Data Type
- _recId
Type: RefRecId Extended Data Type
- _rootCorrelationId
Type: WorkflowCorrelationId Extended Data Type
- _parentCorrelationId
Type: WorkflowCorrelationId Extended Data Type
- _workflowCorrelationId
Type: WorkflowCorrelationId Extended Data Type
- _subWorkflowId
Type: WorkflowSubWorkflowId Extended Data Type
Return Value
Type: WorkflowContext Class
An instance of the WorkflowContext class.