Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Configuring an Absence Manager

(1) ShareShare
ReportReport
Posted on by 103

Hi,

I'm configuring an Absence Manager in Dynamics 365 HR so that a specific user can request and approve leave for the direct reports of another user.  Can someone answer any of the following questions for me, please:

  1. When adding the newly created Leave hierarchy on the Relationships tab in each position that the Absence Manager is going to manage, should the 'Reports to Position' selected be that of the Absence Manager’s position?
  2. When amending the existing leave and absence workflow and associating it with the new Leave hierarchy, will the ‘usual’ non-hierarchy approval path within this workflow still be triggered for those requesters whose positions have not been assigned to the hierarchy?  In other words, those whose position is not assigned to the hierarchy will still have their leave requests approved by their line manager, while those employees who have their position assigned to the hierarchy will have theirs approved by the Absence Manager?
  3. When associating the Leave hierarchy to the leave workflow the following error is given when booking annual leave:

Stopped (error): X++ Exception: The hierarchy provider did not return any users.
at SysWorkflowHierarchyProvider-resolve
SysWorkflowHierarchyProvider-resolveHierarchy
SysWorkflowQueue-resume

Any help, as always gratefully, received thank you.

  • Suggested answer
    Parag Chapre Profile Picture
    12,252 Most Valuable Professional on at
    RE: Configuring an Absence Manager

    Hi Mancini,

    I am glad it helped you out. Could you please mark the answer as verified so that it can help others?

  • Mancini Magic Profile Picture
    103 on at
    RE: Configuring an Absence Manager

    Thank you Charlotte for your help on this

  • Mancini Magic Profile Picture
    103 on at
    RE: Configuring an Absence Manager

    Once again, many thanks for your help and confirming what needs to be selected in the Reports to position field.  I will also check the worker mapping

  • Verified answer
    Charlotte X Profile Picture
    on at
    RE: Configuring an Absence Manager

    Hi Mancini,

    For the third question, can you check user relations and see if employee is setup there to make sure employee/worker is linked to user?

    Please refer to this thread:

    (+) Workflow Stopped (error): X++ Exception: The hierarchy provider did not return any users. - Microsoft Dynamics AX Forum Community Forum

  • Verified answer
    Parag Chapre Profile Picture
    12,252 Most Valuable Professional on at
    RE: Configuring an Absence Manager

    Hi Mancini,

    When you enabled the feature for Absence manager then you setup the hierarchy and you need to use this hierarchy for report to position otherwise you wont see data.

    1. Yes, you need to use this hierarchy for report to position.

    2. Not sure

    3. You must check whether the worker is mapped with user relationship.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans