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 :
Microsoft Dynamics AX (Archived)

Workflow - Worker with many PositionId "loose" current hierarchy

(0) ShareShare
ReportReport
Posted on by 570

Hi all,

I have some cases in my WF where the same worker has different positions then he is simultaneously in different hierarchies. 

The current version on AX 2012 R3 seems not supporting this scenario.

1st Hierarchy

Worker A -> Worker B -> Worker C

2nd Hierarchy

Worker E -> Worker B -> Worker D

Assuming we are in the 1st hierarchy , when worker B approves, the next approver assigned is Worker D and not worker C as expected

I had a look to the code and found the class\WorkflowLimitHierarchyProvider method findNextNode()

where I noticed the input is the personnelId (node Id) and not the positionId as expected.

This method infact get the first created positionid for the worker by method 

HcmWorker::getPrimaryPosition(hcmWorker.RecId);

and it is the reason why the hierarchy "jumps" from 1st to 2nd. This method returns the first created positionId of the worker.

Does anyone knows why it is not supported or some KB's available to manage this "standard" case?

*This post is locked for comments

I have the same question (0)

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#1
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#1
Pratik Bhosle Profile Picture

Pratik Bhosle 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans