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

workflow error

(0) ShareShare
ReportReport
Posted on by

Hi,

The user  tried raising a purchase order but got a fault in the workflow (see screenshot below).

Below is the full error message: 

26/08/2022 13:47:16:
Stopped (error): X++ Exception: A worker with a personnel number of was not found.
at SysWorkflowHierarchyProvider-resolve
SysWorkflowHierarchyProvider-resolveHierarchy
SysWorkflowQueue-resume

0753.attachment.png

I have the same question (0)
  • Suggested answer
    BillurSamdancioglu Profile Picture
    19,036 Most Valuable Professional on at
    RE: workflow error

    Hi,

    Can you please check if all related users have employees assigned.

  • Suggested answer
    Komi Siabi Profile Picture
    13,047 Most Valuable Professional on at
    RE: workflow error

    Hello, 

    This shows that you setup a Hierarchical workflow and the system is not able to retrieve a line manager for Kenneth.

    Please check the position assign to Kenneth and confirm that the record has a parent position, and also an employee is assigned to the linemanger user account.

  • Suggested answer
    Prem Kumar Bachu Profile Picture
    3,418 on at
    RE: workflow error

    Hi Gowtham,

    I think your workflow assignment type is managerial hierarchy.  Identify the reporting position and worker in positions form and map that worker to related user.

  • Gowtham Kumar Profile Picture
    on at
    RE: workflow error

    Hi,

    I have checked user position everything was good and he had a parent position as well. Can you explain what do you mean by employee assign to the linemanger user account please

  • Gowtham Kumar Profile Picture
    on at
    RE: workflow error

    Can you please enlighten me what does that mean?

  • Suggested answer
    Komi Siabi Profile Picture
    13,047 Most Valuable Professional on at
    RE: workflow error

    I mean, check the line manager user account and confirm that there is an employee mapped there.

    Sys admi -> Users -> Users

  • Gowtham Kumar Profile Picture
    on at
    RE: workflow error

    Hi Prem,

    The worker position and the reporting position are in hierarchy which are already mapped.

  • Gowtham Kumar Profile Picture
    on at
    RE: workflow error

    yes it is mapped in the users.

  • Suggested answer
    Prem Kumar Bachu Profile Picture
    3,418 on at
    RE: workflow error

    Hi Gowtham,

    Can you check workflow, what is the stop condition? Is it configured like below?

    pastedimage1605714155750v1.png

    Check below things:

    1) Ensure Kenneth is mapped to user and worker is assigned with position. 

    2) Ensure Kenneth position ID mapped to reports to position

    3) Ensure Reports to position is assigned to worker, further mapped to user.

  • Suggested answer
    Komi Siabi Profile Picture
    13,047 Most Valuable Professional on at
    RE: workflow error
    [quote user="Gowtham Kumar"]

    yes it is mapped in the users.

    [/quote]

    If that's the case, confirm that the line manager can access the employee selfservice without issues.

    I am suggesting these:

    - Recall workflow

    - Remove employee record on line manager user ID (Maintain version)

    - Delete line manager user account and re-import (System administartion module)

    - Reassign employee record to Line manager (System administartion module)

    - Submit workflow.

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 2,188

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 593 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans