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)

Call stack workflow classes Ax 2012

(0) ShareShare
ReportReport
Posted on by 452

Hello everyone,

I am trying to get the call stack of Managerial hierarchy providers classes , I have added the call stack code in Hierarchy related classes. but still no info pops up.

I have unchecked the RUN Code in CIL check box.

Is there any other way to get the flow of the Hierarchy provider , or any other documented reference will be helpful.

thanks.

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    239,647 Most Valuable Professional on at

    Can you tell us more about what you're doing? Can you show us your code and tell us where did you add it? Wouldn't debugger do the same work? How are you running the workflow? If as a batch, do you know how to debug batch jobs?

  • Karunakaran nainar Profile Picture
    452 on at

    Thanks Martin for the response:

    what i am trying to do is Create a Workflow provider similar to position hierarchy provider with department hierarchy that is supported for all workflows.

    My code for call stack is:

    Container con;

    str coninfo;

    con = xSession::xppCallStack();

    coninfo = con2str(con);

    info(coninfo);

    i have issue with Visual studio tools in AX setup , i will try to fix that and debug .

    thanks,

  • Suggested answer
    Mea_ Profile Picture
    60,286 on at

    Hi Karunakaran nainar,

    Workflow debugging could be tricky, please read this msdn article msdn.microsoft.com/.../dd638052.aspx

    Also your code won't work in CIL, to get call stack in CIL please refer to this blog post stoneridgesoftware.com/how-to-send-the-callstack-to-the-infolog

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

#1
CP04-islander Profile Picture

CP04-islander 34

#2
Michel ROY Profile Picture

Michel ROY 14

#3
Jagadabi Profile Picture

Jagadabi 6

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans