Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

WorkflowHierarchyProvider implementation has a circular dependency

Posted on by Microsoft Employee

Hi,

 I am working with managerial hierarchy in workflows  and I have used signings limits for approval,but while making a new invoice I am getting following error

Stopped (error): X++ Exception: The WorkflowHierarchyProvider implementation has a circular dependency.
 at SysWorkflowHierarchyProvider-resolve
SysWorkflowHierarchyProvider-resolveHierarchy
SysWorkflowQueue-resume

Please help!

Thanks

Pallavi

  • WorkflowHierarchyProvider implementation has a circular dependency
    Was this issue resolved? And if so, how?
     
    thanks in advance
    Marcy
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Stopped (error): X++ Exception: The WorkflowHierarchyProvider implementation has a circular dependency. at SysWorkflowHierarchyProvider-resolve SysWorkflowHierarchyProvider-resolveHierarchy SysWorkflowQueue-resume

    Hi Lulian,

    In my case i am working with vendor invoices in which the creator of invoice can by user and for the approval i am using the particular hierarchy..

  • Iulian Cordobin Profile Picture
    Iulian Cordobin 8,201 on at
    RE: Stopped (error): X++ Exception: The WorkflowHierarchyProvider implementation has a circular dependency. at SysWorkflowHierarchyProvider-resolve SysWorkflowHierarchyProvider-resolveHierarchy SysWorkflowQueue-resume

    Also, I presumed in the previous post that you are using the standard Hierarchy provider and not a custom one, is this the case?

  • Suggested answer
    Iulian Cordobin Profile Picture
    Iulian Cordobin 8,201 on at
    RE: Stopped (error): X++ Exception: The WorkflowHierarchyProvider implementation has a circular dependency. at SysWorkflowHierarchyProvider-resolve SysWorkflowHierarchyProvider-resolveHierarchy SysWorkflowQueue-resume

    As the error message is saying, your setup in the management hierarchy (Organization positions) is wrong.

    Somewhere in your setup you have assigned a person to be the 'report to position' for a person that already report to it (person A reports to B, B to C, and C to A).

    Review the hierarchy and fix this.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,246 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,041 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans