Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

AX 2012 Workflow - Escalation using Managerial Hierarchy

(0) ShareShare
ReportReport
Posted on by 225

Hi,

I have set up escalation using the Managerial Hierarchy. By so doing, my objective was to have the same users in the approval process (also using the Managerial Hierarchy) to intervene whenever the an approver does not approve within the set time limits.

4744.Image-1.png

My issue is that instead of using the Managerial Hierarchy to escalate, the system is escalating to the last user in the Managerial Hierarchy (specified in the exit criteria).

Thanks to advise.

Regards

Didier

*This post is locked for comments

  • Suggested answer
    Jonathan  Halland Profile Picture
    Jonathan Halland 11,306 on at
    RE: AX 2012 Workflow - Escalation using Managerial Hierarchy

    Hi Didier.

    You logically do require a stop condition for hierarchies.

    Unfortunately AX doesn't really provide an easy solution to your problem. We've had a similar requirement a couple of times and have ended up using a workaround whereby you need to setup 4 levels of escalation each with a stop condition along the lines of:

    if heirachy.level =  1 or role = "General Manager"

    if heirachy.level =  2 or role = "General Manager"

    if heirachy.level =  3 or role = "General Manager"

    if heirachy.level =  4 or role = "General Manager"

    it is really not a desirable solution, but so far has been the only workaround I have found. This solution does have a drawback. If the GM is the next level it will be reassigned back to the GM 3 times before achieving "final action"

  • Didier Jean Pierre Profile Picture
    Didier Jean Pierre 225 on at
    RE: AX 2012 Workflow - Escalation using Managerial Hierarchy

    Hi. Thanks for your input. However, don't I require a stop condition ?

    Actually, I cannot use Line Manager Level as it varies from a worker to another. For some workers there is only 1 level while for others there may be up to 4 levels.

    I, in fact, need something like the Assign to all users retrieved (in hierarchy options). How do I do that in Escalation ?

  • Jonathan  Halland Profile Picture
    Jonathan Halland 11,306 on at
    RE: AX 2012 Workflow - Escalation using Managerial Hierarchy

    Hi Didier. You have specified a stop condition of general manager, this means workflow will loop through the hierarchy until it finds somebody who is the general manager and "stop" there and assign it to that person.

  • Didier Jean Pierre Profile Picture
    Didier Jean Pierre 225 on at
    RE: AX 2012 Workflow - Escalation using Managerial Hierarchy

    Though all workers have the same General Manager (as the last approval and escalation level), the task should go through at least one approver before being assigned to the General manager

  • Suggested answer
    Fredrik Sætre Profile Picture
    Fredrik Sætre 12,644 on at
    RE: AX 2012 Workflow - Escalation using Managerial Hierarchy

    Your escalation happens through the hierarchy if the worker has a General Manager.

    All positions have general managers except the top record in the hierarchy. That is why this happens I guess.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,111 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,934 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans