web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Dynamics 365 Wonders / AX 2009 Workflow - Run batc...

AX 2009 Workflow - Run batch jobs through a Job

Eduardo Arias Profile Picture Eduardo Arias 905
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.


This was originally posted here.

Comments

*This post is locked for comments