WorkflowWorkItemActionManager::dispatchWorkItemAction Method [AX 2012]

Dispatches a work item action to the workflow framework for processing.

Syntax

client server public static void dispatchWorkItemAction(
    WorkflowWorkItemTable _workItem, 
    WorkflowComment _comment, 
    WorkflowUser _toUser, 
    WorkflowWorkItemActionType _workItemActionType, 
    MenuItemName _menuItemName, 
    boolean _isWebMenuItem, 
   [Name _queueName])

Run On

Called

Parameters

  • _isWebMenuItem
    Type: boolean
    A flag indicates whether this request originated from Web or rich client.

Exceptions

Exception Condition
Error

Could not find the record in the workflow table for this work item.

-or-

Workflow action type not supported.

See Also

Reference

WorkflowWorkItemActionManager Class