Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

CRM 2011 On Premise Custom worfklow: How to see the code flow when there is no error

Posted on by Microsoft Employee

Hi 

I have a custom workflow in my CRM 2011 on premise system. There is no error in the workflow but we have odd result in the custom workflow. I would like to go through each step and see what is happening when the custom workflow is fired.

How do I do this please?

Thanks

AB

*This post is locked for comments

  • Suggested answer
    Jeet Gandhi Profile Picture
    Jeet Gandhi 320 on at
    RE: CRM 2011 On Premise Custom worfklow: How to see the code flow when there is no error

    Hello,

    It's not easy to debug custom workflows in Dynamics CRM.

    An alternative is to use trace logs on code steps that you might consider as error-prone using Itracing service object in the code.

    Refer the links below for further help on using tracing service in CRM:

    crmtipoftheday.com/.../tracing-for-plugins-and-custom-workflow-activities

    spandcrm.com/.../dynamics-setting-up-tracing-on-custom-workflow-steps-c

    Please know, you need to turn on trace logs service in CRM in order log traces from your custom code.

    www.powerobjects.com/.../dynamics-crm-2015-spring-update-1-plug-in-trace-log

    Hope the above would be helpful.

    Please mark the answer if found helpful.

    Thank you,

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans