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 :
Microsoft Dynamics AX (Archived)

Workflow error: invalid tracking submission

(0) ShareShare
ReportReport
Posted on by 90

Dear All,

I am getting workflow error when i run Tutorial_WorkflowProcessor.

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

Version: AX 2012 R3

CIL,AOS & machine restart done, but not resolved

6607.a.jpg 

Thanks

Asif

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,928 Super User 2025 Season 2 on at

    Hi Asif,

    Can you tell what workflow type is used; its settings and if there are customizations involved? Did you perform a CIL compilation? Did this CIL compilation complete successfully?

  • Asif Kunimmal Profile Picture
    90 on at

    Thanks Mr. Andre,

    1) Purchase requisition. Did customization  in PR workflow which was running fine & started getting error recently. Few PRs are getting stuck with status in review without assigning to user

    40378.2.jpg

    2) CIL done successfully.

    Thanks

    Asif

  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    I suspect the corrupted data for these workflow instances. Have you tried to cancel/update status of these records to not-submitted and ask user to restart the process by submitting PR again.

  • André Arnaud de Calavon Profile Picture
    300,928 Super User 2025 Season 2 on at

    Hi Asif,

    Can you also tell about the customizations? Do you know if someone tried to change table contents related to the workflow version? Like Sohaib mentioned, first try to recall and resubmit the workflow instances.

  • Asif Kunimmal Profile Picture
    90 on at

    Thanks Mr. Sohaib & Mr. Andre

    As you explained, Identified those PRs which was in review without assigning to any user, recalled and submitted for approval & working successfully.

    But still Tutorial_WorkflowProcessor shows error.  

    It seems still there are more corrupted records which throws error @  WorkflowTrackingTable::saveTracking() inside faultWorkflowInstance() of SysWorkflow Class. I am not sure how this can be fixed or what is reason for this.

  • Verified answer
    Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    I don't see an easy way to fix corrupted data, other than if you recall and resubmit those workflows. The issue which you have got could be because of any reasons, such as if someone tried to modify configuration of workflow directly from tables whereas meantime the instances of that workflow were pending yet. This might have broken down your data. There can be other reasons as well. Since system is not in our hands so its hard to say what has went wrong. if this is production system, remove system admin access for all people. let them do work on DEV server if it is required.

  • Suggested answer
    Moeen Ahmed Sultan Profile Picture
    1,402 on at

    Hi Asif,

    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
    Asif Kunimmal Profile Picture
    90 on at

    Thanks Moeen,

    This resolves my issue.

    Thanks

    Asif

  • Moeen Ahmed Sultan Profile Picture
    1,402 on at

    Please verify the answer so others could get benefit.

  • kaps Profile Picture
    108 on at

    Thanks Moeen, the job worked and resolved the issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Scott_itD Profile Picture

Scott_itD 2 Community Manager

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans