Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

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

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,300 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,300 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans