Zeeshan shaikh
Zeeshan shaikh

Reputation: 361

How To escalate workflow through code in AX 2012 X++

I have Requirement of escalating a case management workflow to particular user if it has not been approved by the user to which the workflow has been assigned within the given time period. Now I was wondering how to escalate the workflow through code to particular user ? If someone can help me out

Upvotes: 1

Views: 1953

Answers (1)

Zeeshan shaikh
Zeeshan shaikh

Reputation: 361

I resolved the issue using following method :

WorkflowWorkItemActionManager::dispatchWorkItemAction(WorkflowWorkItemTable, 
'comment',
 curUserId(), 
WorkflowWorkItemActionType::Delegate, 
'CaseDocumentDelegate' , false);

Upvotes: 1

Related Questions