Monday, September 24, 2018
Developing A Product Approval Workflow

There are a lot of workflow templates that are delivered with Dynamics AX 2012, but that doesn’t mean that those are the only ones that you can use.  Developing new workflow templates and actions are pretty straight forward and you can easily extend out the system to incorporate other workflow scenarios that have not been added yet.

In this worked example we will work through one example and show you how you can develop your own workflow process for product approvals that allow you to submit, track and approve the product review process.


Topics Include:


  • Create a New Development Project for your Workflow Development
  • Create a Menu Item for the Product Management Workflows
  • Add the Workflow Editor Menu Item to the Product Area Page
  • Create a New Workflow Category for Your Product Management Workflows
  • Create a Base Enumeration to Track the Approval Status
  • Add the Approval Status Field to the Product Table
  • Adding the Approval Status to the Released Products Form
  • Add a canSubmitToWorkflow Method to the Table to Enable Workflows
  • Create a Query on the Products Table for the Workflows to Reference
  • Create a Workflow Type Using the Workflow Wizard
  • Create A Simple Product Approval Workflow
  • Enabling Workflow Submission on the Product Details Form
  • Updating the Submission Manager Method to Start the Workflow
  • Relabel the Workflow Submission Menu Items
  • Update the Completed Method on the Approval Event Handler
  • Using the Tutorial Workflow Processor to Process Workflows
  • Configuring the Workflow Processors to Run Automatically
  • Creating a Class to Manually Run Workflow Processes
  • Performing the Workflow Approval Through the Dynamics AX Forms
  • Creating a New Product Approval Workflow Task Element
  • Relabeling the Approval Action Menu Item Labels
  • Update the Workflow Approval Element Event Handlers
  • Add the Product Approval Element to the Workflow Template
  • Using the Product Approval Element in the Approval Workflow
  • Performing Product Approval Using the Custom Approval Element
Get Your Own Copy Of The Book

If you are more of a would like to get your own copy of the book then don't worry - we have made it available for you through Blind Squirrel Publishing.  All you have to do is follow the link below:

Buy Now

If you want a copy of the book from Amazon then just click on this link

Become an eBook Subscriber and get All the Books at Once

If you want access to all of the books that we have published (and will publish in the future then you may want to become an eBook Subscriber.  This will allow you to download the latest version of the book directly from the Dynamics AX Companions site as a PDF file, which may also contain additional content that is not available in the published version because this will be the source file for the next and updated editions.  This is a one time only fee of $249.00 which is a steal if you ask us.



If you want to become an eBook Subscriber then just go to your Account Profile and add an eBook Subscription to your account.  It's super easy to do.


If you are a eBook Subscriber, then just click on the book link to get the file.


If you don't want to commit to getting a copy of all the books that are available, then you can just purchase the individual book by adding th Developing A Product Approval Workflow subscription to your account profile for $9.99.

Sign Up For The Premium Subscription To Access More of The Content
There is a lot more content that is available through the Dynamics AX Companions site, but in order to keep the lights on (or the Azure hosting fees paid) they can only be accessed if you show your support to the website through a subscription.  The Premium subscription will also give you access to all the PDF versions from the Tips & Tricks archive, giving you a sneak preview into the next Tips & Tricks book before it's even published.  I’m hoping that people will appreciate that this is just $9.95 a month and keep on subscribing and not just pillage the files and then cancel the monthly subscription because then you will miss out on all the new content that is continually made available.


To add a Premium subscriptions to your account just follow these instructions:

  1. Register on the site by clicking on the register link in the header of the website.
  2. Access your user profile by clicking on your name in the top right of the form, (or by clicking here) and click on the My Account button below your profile image.
  3. Select the Manage Services tab and click on the Subscribe button for the subscription that you want to add..
Contact Info


TWITTER: @daxcompanions