简体   繁体   中英

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

I resolved the issue using following method :

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM