Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Workflow batch jobs not running

Posted on by Microsoft Employee

I have an installation of Dynamics AX 2012 R3 running in a live environment for a client. I have configured the AOS service as a batch server, and i have ran the workflow configuration wizard. Even though the batch jobs are created, they never run. They constantly have a 'waiting status' . How do i fix this? Please help! The situation is slowly turning into a crisis

  • Husna Yusuf Profile Picture
    Husna Yusuf 1,090 on at
    RE: Workflow batch jobs not running

    Hello Carlos..

    Sorry for late answering your question.

    my trouble is already done.

    this issue happen because there is a Job who suspending the Workflow Batchjob

  • RE: Workflow batch jobs not running

    Hello Husna Yusuf.

    Did you find a solution? I have exactly the same scenario.

  • Sangeeth R Profile Picture
    Sangeeth R 86 on at
    RE: Workflow batch jobs not running

    Hi Edward Kutin-Nuamah,

    Can u give Solution for this Issue?

  • Husna Yusuf Profile Picture
    Husna Yusuf 1,090 on at
    RE: Workflow batch jobs not running

    Hi Jonathan.

    I have follow all your checklist.

    when i run the full CIL compile the result is OK.

    Workflow-batch-job-2016151.PNG

    but still the workflow batch job is not moving..

    Workflow-batch-job-2016151.PNG

    normaly the 3 list record of workflow, field Start date/time is moving harmonious with current datetime/machine.except for the workflow due date processing, its 30 minutes earlier.  


    do you have any other suggestion?

    Thankyou

    Husna

  • Johnny Profile Picture
    Johnny 6,312 on at
    RE: Workflow batch jobs not running

    Hi Guy,

    yes, I have 3 *workflow* in batch jobs and all of them have status "Waiting"

    I have created a new question here: community.dynamics.com/.../181818

  • GuyUK Profile Picture
    GuyUK 28,363 on at
    RE: Workflow batch jobs not running

    Hi Joni,

    Have you got any batch jobs with the word 'Workflow' in the description?

  • Johnny Profile Picture
    Johnny 6,312 on at
    RE: Workflow batch jobs not running

    Hello,

    how have you solved this?

    I have situation that it's already 2 h that I submit PO and there are nothing created in Workflow elements.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow batch jobs not running

    Thanks for all your replies. Workflow is up and running

  • Iulian Cordobin Profile Picture
    Iulian Cordobin 8,201 on at
    RE: Workflow batch jobs not running

    Yes, indeed the setting to Always for Save to history was just to understand if the job was actually running or not.

    Edward - you need to change this setting back to Only error now, and look elsewhere for the errors, as the other members suggested.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 287,773 Super User on at
    RE: Workflow batch jobs not running

    Just an additional note on the remark ' save to history': I would not recommend the setting always for this task as it usually runs every minute. Error only is sufficient. But is you do so, create a procedure to clean up the batch history periodically.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,773 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,513 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans