Skip to main content

Notifications

Microsoft Dynamics AX forum
Suggested answer

Workflow Error -Due date exceeded in Ax 2012- Status Always PENDING

Posted on by Microsoft Employee

Hello,

Whenever we submit ANY work flow in the system , its status gets stuck to PENDING. When we try to start/run the work processor(Tutorial_workflow_process form) manually system keeps throwing an infolog message(as shown below) unless we stop the workflow processor.

"invalid tracking submission expected context Workflow and expected type Submission actual context Workflow and actual type Fault "

and also:

invalid tracking submission expected context Workflow and expected type Submission actual context WorkItem and actual type DueDateExceeded"

Things we have tried so far without any luck:

1. Restarted the machine and AOS.

2. FULL CIL Compilation completed

 

One more thing: Do we need to take care of anything in test environment in case we are migrating the production business database and model store to test business  databases and model store?

I guess there could be few steps we need to perform to correct some work flow related entries after database has been migrated. I understand we have to change workflow execution and service account , and business connector proxy account under system service account.  But I am afraid there could be few more things that we may need to change.

We are stuck here. Please help.

 

Thanks.

Manoj Parashar

 

 

Categories:
  • Suggested answer
    Moeen Ahmed Sultan Profile Picture
    Moeen Ahmed Sultan 1,402 on at
    RE: Workflow Error -Due date exceeded in Ax 2012- Status Always PENDING

    Hi Manoj Parashar,

    To resolve this, I have found that the due date of workflow work items are expired, so I have written job to update the due date and set it to future date time. After this, the error is resolved. Please have a look at: github.com/.../Workflow%20Due%20Date%20Time%20Exceeded%20Error

    Regards,

    Moeen Ahmed Sultan

  • Suggested answer
    syed baber Profile Picture
    syed baber 11,627 on at
    RE: Workflow Error -Due date exceeded in Ax 2012- Status Always PENDING

    Hi Manoj,

    Check the below post related to the similar issue. This will give you some clue to resolve your issue:

    community.dynamics.com/.../161251

    Thanks,

    Baber.

  • Suggested answer
    fatihgork Profile Picture
    fatihgork 3,815 on at
    RE: Workflow Error -Due date exceeded in Ax 2012- Status Always PENDING

    Hello can you try to change status of all the pending workitems to cancelled in WorkflowWorkItemTable?

    There might be real old workitems we had the same issue lately and this was the solution.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,186 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,996 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans