Reputation: 361
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
Reputation: 361
I resolved the issue using following method :
WorkflowWorkItemActionManager::dispatchWorkItemAction(WorkflowWorkItemTable,
'comment',
curUserId(),
WorkflowWorkItemActionType::Delegate,
'CaseDocumentDelegate' , false);
Upvotes: 1