web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Stopped (error): X++ Exception: A worker with a personnel number of was not found.

(1) ShareShare
ReportReport
Posted on by 52

I am using a managerial hierarchy approval for the GL ledger workflow. I have a couple of users who when they submit their journal for approval their workflow stops, and the below error comes up. They are setup with a personal number, assigned correctly with a supervisor. 

Could someone assist with where to look, or a reason to why this arises for certain users only?

 

1/31/2022 10:19:17 am:
Stopped (error): X++ Exception: A worker with a personnel number of was not found.
at SysWorkflowHierarchyProvider-resolve
SysWorkflowHierarchyProvider-resolveHierarchy
SysWorkflowQueue-resume

 

Thanks!

Mike

I have the same question (0)
  • Suggested answer
    BZ-22112253-0 Profile Picture
    2 on at
    Stopped (error): X++ Exception: A worker with a personnel number of was not found.
    I just had this issue and as Ramit mentioned, it relates to missing user-worker mapping. To fix, I just assigned the worker to the user from within the user setup form (in my case it was a user that I set up quickly and missed this step, ooops). 
  • mgeak Profile Picture
    52 on at
    RE: Stopped (error): X++ Exception: A worker with a personnel number of was not found.

    Here are screenshots of the the positions. Emily is the user who errors out. When I route her to a different manager the same error occurs.. 

    Screenshot-2022_2D00_02_2D00_03-123449.pngScreenshot-2022_2D00_02_2D00_03-123554.pngScreenshot-2022_2D00_02_2D00_03-123825.png

  • Ramit Paul Profile Picture
    22,778 Most Valuable Professional on at
    RE: Stopped (error): X++ Exception: A worker with a personnel number of was not found.

    Hi,

    Is the submitter having the same relation(user- employee)

  • mgeak Profile Picture
    52 on at
    RE: Stopped (error): X++ Exception: A worker with a personnel number of was not found.

    They are assigned. I have a different user who reports to the same manager and that workflow works as expected.

  • Suggested answer
    Ramit Paul Profile Picture
    22,778 Most Valuable Professional on at
    RE: Stopped (error): X++ Exception: A worker with a personnel number of was not found.

    Hi,

    Very common issue is- the people who is in next hierarchy, they are not assigned with user- employee mapping.

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 665 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 595 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 558

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans