Before we start workflows running, we need to make sure that workflow processor is up and running so that it is able to move workflows from stage to stage. If you are running in a development environment, a simple way to do this is to use the tutorial_workflowprocessor which you can find hidden away in AOT. This allows you to start and stop the workflow processor on demand.
NOTE: This is part of the Developing a Product Approval Workflow in Dynamics AX 2012 blog series where we show how to develop a completely new workflow to manage the new product approval process. If you want to see all of the other posts in this series, click here.
How to do it…
To access and start the tutorial version of the Workflow Processor, follow these steps:
- Open up the AOT explorer and expand the Forms node. Find the Tutorial_WorkflowProcessor form, right-mouse-click on it and select the Open menu item.
- When the workflow processor dialog box is displayed, click the Start button.
How it Works…
Now as long as you have the processor running, it will automatically process any workflow steps that are in the queue.