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)

How to debug workflow message processing batch job

(0) ShareShare
ReportReport
Posted on by

Hi,

I have a customized workflow on HRMAbsenceTable 

I am getting below error after submitting the workflow.

Stopped (error): SysWorkflowQueue-resume X++ Exception: Extended data types do not match.
at SysWorkflowHierarchyProvider-resolve
SysWorkflowHierarchyProvider-resolveHierarchy
SysWorkflowQueue-resume

In workflow, I have set Hierarchy Type as 'Managerial Hierarchy' and start from is set to 'Worker'.

Employee.Line Manager Level = 1

We want to assign the workflow to the manager of the worker (Data Type is  HcmWorkerRecId)

The error is not informative enough to know what caused the issue. Looking at the error we know that it fails at some point in method resolve() in class SysWorkflowHierarchyProvider.

How to debug this as it's being executed by a batch job of workflow message processing.

I tried to debug from visual studio by  Debug -> 'Attach to Process'  -> w3wp.

but it never hit any debug point in the method resolve(). My debug point is at the very first line in method resolve().

Can any one please help me on what next?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at

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
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans