Показать сообщение отдельно
Старый 10.12.2009, 21:06   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
paruvella: Dynamics Ax 2009 Workflow - Simple Job to complete the workflow steps
Источник: http://paruvella.spaces.live.com/Blo...4DB0!363.entry
==============

Workflow batch jobs can be executed using the following Job, without using Batch Server.

static void workflowJobs(Args _args)

{

    SysWorkflowMessageQueueManager  queueManager;

    WorkflowWorkItemDueDateJob      workItemDueDateJob;

    ;

    queueManager = SysWorkflowMessageQueueManager::construct();

    queueManager.run();

    workItemDueDateJob = new WorkflowWorkItemDueDateJob();

    workItemDueDateJob.run();

}

But, we need to run the above job number of times, to complete the workflow process; this job will be useful in case if we have any issues related to Batch Server.

Note: Same issues related to Batch Server, while working with workflow, can find at the following link and also solution suggested by me using the same above job.

https://community.dynamics.com/forums/p/22881/44338.aspx#44338

This may useful for my blog readers, so I am sharing the same through my blog.



Источник: http://paruvella.spaces.live.com/Blo...4DB0!363.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.