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
    Ramit Paul Profile Picture
    22,797 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.

  • 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.

  • Ramit Paul Profile Picture
    22,797 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.

    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

  • 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). 

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 783

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 715 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 519 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans