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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Approve leave option missing from manager self-service

(0) ShareShare
ReportReport
Posted on by 45

Would anybody please advice.

The CEO doesn't have an approval button at his Self-Service to approve a leave request from his direct reports.

The workflow stops with fault: 

Stopped (error): X++ Exception: A worker with a personnel number of was not found.
at SysWorkflowHierarchyProvider-resolve
SysWorkflowHierarchyProvider-resolveHierarchy

The worker and CEO are set up as workers and enabled users. 

Only CEO experiences this problem.

An ideas how to resolve it would be appreciated.

Many thanks

I have the same question (0)
  • qianwang Profile Picture
    7,168 on at

    Hi JanaW,

    Please confirm if the worker associated with this user CEO is still active.

    You can check the employment history of this person.

    Please try it and update with us.

    Regards,

    QianQW

  • JanaW Profile Picture
    45 on at
    [deleted]
  • JanaW Profile Picture
    45 on at

    Yes. Worker is active.

    I have noticed that his position (CEO) is flagged as not in hierarchy. He is a CEO therefore on top of the reporting structure.

    Could that be the source of problems?

    Thank you.

    6266.Screen-Shot-2020_2D00_06_2D00_11-at-11.36.42.png

  • qianwang Profile Picture
    7,168 on at

    Hi JanaW,

    Yes. This is the problem.

    The workflow will pass the request to the manager, which is the upper layer, so the CEO needs to be in the hierarchy.

    Regards,

    QianQW

  • JanaW Profile Picture
    45 on at

    Thank you.

    How can I add the CEO position in the position hierarchy. By default his 'reports to' field is empty as he is at the top of the hierarchy.

    Many thanks

  • qianwang Profile Picture
    7,168 on at

    Hi JanaW,

    Try the following steps.

    132.png

    131.png

    Regards,

    QianQW

  • JanaW Profile Picture
    45 on at

    Thank you. I have succesfully added CEO's position to the hierarchy.

    However, the CEO still cannot see the 'approve' option on his self-service. Any ideas please?

    Many thanks

  • qianwang Profile Picture
    7,168 on at

    Hi JanaW,

    Can you show me the item message in the workflow history?

    Does the CEO have the suitable privilege?

    Regards,

    QianQW

  • JanaW Profile Picture
    45 on at

    Hi QianQW,

    Status Pending. No error messages (since we corrected his position in hierarchy with your help, thank you).

    The CEO has the same manager privileges as other managers (they all can approve leave without any issues).

    The requests sits in the workflow history as pending. And the CEO can see it in his Team self-service. But there is no button/option he can click to approve it.

    Many thanks

    Kind regards

    Jana

  • qianwang Profile Picture
    7,168 on at

    Hi JanaW,

    Cancel the request workflow and create a new one to check it.  Make sure the position hierarchy changed is active for this workflow.

    In addition, show me the screenshot of the work item assigned if it still doesn't work.

    139.png

    Regards,

    QianQW

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans