Quantcast
Channel: Microsoft Dynamics AX
Viewing all articles
Browse latest Browse all 101540

Forum Post: RE: Approving Workflow task with organization hierarchy

$
0
0
Hi David. It is tricky to perform exactly what you are doing. I.E. Individual steps in sequence to each level in your hierarchy. Out of the box you can either approve to a specific point in the heirarchy (e.g. end etc) or you can assign to all in the people in the heirarchy at once. If you want to achieve the above, I have wrote a custom workflow participant provider that returns resolves each individual level above the preparer. Then in my workflow configuration created approval steps (with conditions) up to the maximum number of possible approval levels. e.g. Step 1 -> If at least 1 level above preparer then execute -> Assign to person one level above using custom provider Step 2 -> If at least 2 levels above preparer then execute -> Assign to person two levels above using custom provider Step 3 -> If at least 3 levels above preparer then execute -> Assign to person three levels above using custom provider Step etc... -

Viewing all articles
Browse latest Browse all 101540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>