Workflow Automated Tasks

Workflow Automated Tasks [AX 2012]

Updated: November 14, 2011

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Tasks can run automatically, or require user intervention. A workflow can contain both types of tasks. Automated tasks are workflow elements that are used to start X++ code in the application without requiring user intervention. When the workflow is started, an automated task could execute a customer credit check and send the results to the workflow owner. Based on the results of the credit check, the workflow owner can take action and continue the sales order workflow.

The business logic for an automated task must always run on the AOS and not the client. You can use an automated task to, for example, execute database transactions or updates.

Automated tasks do not have outcomes. Since there is no user interaction, the outcome of an automated task is one of the following: completed, not completed, or canceled. You can write custom business logic enclosed in event handlers to handle these outcomes.


Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.

Community Additions

ADD
Show:
© 2016 Microsoft