Bendrinti naudojant


Workflow Type Checklist

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

The following checklist describes the steps to follow to create a new workflow type for Microsoft Dynamics AX. Workflow types are used to create configurations for a workflow in a Microsoft Dynamics AX application. For more information about workflow configuration, see Design and configure workflows for Microsoft Dynamics AX.

Workflow Type Checklist

  1. If an existing category is not appropriate, create a new workflow category to use for the workflow type. For more information, see How to: Create a Workflow Category.

  2. Create a query that accesses the document for which the new workflow type is being created. For more information, see How to: Create a Query for a Workflow Type.

  3. Create a workflow type in the Application Object Tree (AOT). Typically, you do this using the Workflow Wizard. For more information, see How to: Create a New Workflow Type.

We recommend that you use the Workflow Wizard to create a workflow type. When you use the wizard to create a workflow type, the following tasks are performed by the wizard. In some cases you must add more code for your workflow type. These procedures are provided so that you can see the details of the actions that the wizard performs, and the additional steps that you must perform to complete your workflow type.

  1. Create a workflow document class, and then bind the query used for the workflow to the class. For more information, see How to: Create a Workflow Document Class.

  2. Bind the workflow document class to the workflow type. For more information, see How to: Associate a Workflow Document Class with a Workflow Type.

  3. Create workflow event handlers for started, completed, configuration change, and canceled, and then bind them to the workflow type. For more information, see How to: Create a Workflow Event Handler.

  4. Create a class for the SubmitToWorkflowMenuItem and optionally, for the CancelMenuItem. Bind the classes to the Action menu items that you will create in the next step. For more information, see Classes in X++.

  5. Create an Action menu item for the workflow SubmitToWorkflowMenuItem property and optionally, for the CancelMenuItem property, and then bind the actions to the workflow type. For more information, see How to: Create a New Workflow Type.

Cc637397.collapse_all(en-us,AX.60).gifNext Steps

After you create a workflow type, you can add tasks, automated tasks, and approvals. For more information, see Creating Workflow Tasks, Automated Tasks, and Approvals.

See also

Walkthrough: Creating a Workflow Type

Implementing Workflow for Microsoft Dynamics AX

Creating Workflow Tasks, Automated Tasks, and Approvals

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