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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Stopped (error): X++ Exception: The hierarchy provider did not return any users.

(0) ShareShare
ReportReport
Posted on by 4,534 User Group Leader

Hi Experts,

I am facing issue in PR workflow with configurable hirarchy.

Error: 

11/22/2021 07:08:43 am:
Stopped (error): X++ Exception: The hierarchy provider did not return any users.
at SysWorkflowHierarchyProvider-resolve
SysWorkflowHierarchyProvider-resolveHierarchy
SysWorkflowQueue-resume

I have configured Signing limit on each level an I want to run the workflow till approver have sufficient approval limit to approve the PR.

It works fine till 2nd approver and provide error on 3rd level.

Scenario:

Aron : Purchase Agent will issue PR with value of $25000.

It should be approved by Purchase Manager, Finance Manager and CFO.

As per below signing limit Metrix:

pastedimage1637565600416v1.png

Hirarchy as below:

pastedimage1637565709064v2.png

Stop Condition in Workflow:

pastedimage1637565761125v3.png

Can anyone suggest me what I am missing?

Thanks,

I have the same question (0)
  • huijij Profile Picture
    19,811 on at

    Hi sir,

    Please check if the employee mapped in the live active workflow is not valid.

  • Gaurangkumar Jani Profile Picture
    4,534 User Group Leader on at

    Hi Judy,

    I have this employee linked to the active user. Still, it's proving the same error.

    Thanks,

  • Suggested answer
    Ramit Paul Profile Picture
    22,797 Most Valuable Professional on at

    Hi,

    Sometimes, the workflow tries to find the `next level, for your case if you have no one after 3rd one, then it is the issue which is causing this.

    You can try to test adding someone after 3rd approver, lets check if that is the issue.

  • Gaurangkumar Jani Profile Picture
    4,534 User Group Leader on at

    Hi Ramit,

    I have already added two more positions but I'm still facing the same issue.

    Thanks,

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi,

    You selected the configurable hierarchy. Did you setup on one of the hierarchies to be used for this workflow type? Depending on your setup, you can also use the position hierarchy.

  • Gaurangkumar Jani Profile Picture
    4,534 User Group Leader on at

    Hi Andre,

    Yes, I have mapped the Hierarchy to Workflow as well as position reporting to this hierarchy. It's working fine up to second-level approval. I am facing an issue once it's approved by Finance Manager and it supposes to assign work to the CFO but that's not happening.

    Thanks

  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi Gaurangkumar,

    Thanks for the clarification.

    Is the user setup correct for 'Sara Thomas'? Is the user active on the Users list page? Is there a correct link to the person (worker)? Does this user have the correct security roles assigned? You can verify these settings if anything is missing.

  • Suggested answer
    Gaurangkumar Jani Profile Picture
    4,534 User Group Leader on at

    Hi Everyone,

    We had submitted a ticket to Microsoft and Identified that "SARA/ Employee" was assigned to the position for hierarchy which is NOT PRIMARY position.

    So it's a systems limitation that workflow identifies the user only if the worker has a Primary Position.

    Thanks,

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 298 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 179 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans