Export (0) Print
Expand All
Expand Minimize

WorkflowWorkItemActionManager::main Method [AX 2012]

Provides the framework functionality for processing a work item action. This is primary main method to be invoked via the selection of a menu item.

client server public static void main(Args _args)

Run On

Called

Parameters

_args
Type: Args Class
Menu item arguments.

ExceptionCondition
Error

Could not find a valid action type for the corresponding work item.

This method provides framework functionality for processing a work item action. This class can be associated to any workflow approval and task outcome menu item. Any custom behavior needed when you process the work item actions will require the implementation of a derived menu item class. This method will retrieve the active work item record that is loaded by the workflow controls and attempt to take the corresponding action based on the menu item that was selected.

Show:
© 2014 Microsoft