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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How to add new node in start from hierarchy in purchase requisition workflow?

(0) ShareShare
ReportReport
Posted on by 5

Hi All,

I'm trying to add new node for 'Previous Approver' in start from hierarchy in purchase requisition workflow. I was able to add new node using below code in WorkflowHierarchyProviderHelper class, but when workflow runs and 'Previous Approver' condition is encountered, its giving the below error.

pastedimage1645287969010v1.png          pastedimage1645288268108v3.png

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

I debugged the above error and found its not able to get any value in 'valueNodeData' variable of getInitialNodeId() method of class SysWorkflowHierarchyProvider class and further not able to find users for the hierarchy.

pastedimage1645288659860v4.png

Could you please suggest why its not getting value for valueNodeData and how to get the value of Previous Approver and find its hierarchy in order to send the workflow approval to the person who is higher in hierarchy for the Previous Approver?

Help is much appreciated.

I have the same question (2)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 804

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 639 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 528

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans