Skip to main content

Notifications

Announcements

No record found.

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

  • Suggested answer
    BZ-22112253-0 Profile Picture
    BZ-22112253-0 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
    mgeak 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
    Ramit Paul 22,373 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
    mgeak 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
    Ramit Paul 22,373 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans