Skip to main content

Posts

Showing posts with the label Workflow

AX 2009 Workflow - Run batch jobs through a Job

When working with Workflows, sometimes  have encountered a situation where my workflow item just don't run. This might be due to a problem on the Batch Server. To test (run) the workflow mimicking the batch server we can write the following job. static void workflowJobs(Args _args) {     SysWorkflowMessageQueueManager  queueManager;     WorkflowWorkItemDueDateJob      workItemDueDateJob;     ;     queueManager = SysWorkflowMessageQueueManager::construct();     queueManager.run();     workItemDueDateJob = new WorkflowWorkItemDueDateJob();     workItemDueDateJob.run(); } Another alternative is to go to AOT > Forms > Tutorial_WorkflowProcessor and click the start button.