Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Issue in debugging a custom workflow

Posted on by 145

Hi,

I was searching for a blog or something that leads me to a way to debug a custom workflow , i found  one from answers to other question regarding this subject , here is the link:

https://ssharmacrm.wordpress.com/2015/06/22/how-to-debug-a-custom-workflow-activity-in-dynamics-crm/

But unfortunately i'm stuck at point 8 , i can't see any step in the "steps" area after selecting the workflow . Any idea ? Thanks in advance

  • Joana Pinto Profile Picture
    Joana Pinto 740 on at
    RE: Issue in debugging a custom workflow

    Are you implementing CodeActivity interface? Your code is something like this?

     public class CustomWorkflowAct: CodeActivity
        {
            protected override void Execute(CodeActivityContext context)
            {
    
            }
        }
  • Khaled Rimawi Profile Picture
    Khaled Rimawi 145 on at
    RE: Issue in debugging a custom workflow

    Hi Joana,

    I call it on the root

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Issue in debugging a custom workflow

    Hi partner,

    According to your description, did you register new steps to add your workflow functions?

    You could refer to this blog about how to add cusomt workflow to D365.

    https://www.c-sharpcorner.com/article/creating-word-counter-custom-workflow-activity-in-dynamics-365/

    pastedimage1569571165261v1.png

    Could you kindly share your configuration of your workflow in plug-in registeration tools.

    Hope it helps.

    Best Regards,

    Leo

  • Suggested answer
    Joana Pinto Profile Picture
    Joana Pinto 740 on at
    RE: Issue in debugging a custom workflow

    Hi Khaled,

    Do you call your workflow activity inside an IF clause, on your workflow? From my experience, you can only debugg a workflow activity when the call is made on the root of the workflow. So if you are calling inside a IF or other clause, try to put the call on the root level of the workflow. Then the step will appear so you can debugg it.

    Best regards

  • Khaled Rimawi Profile Picture
    Khaled Rimawi 145 on at
    RE: Issue in debugging a custom workflow

    Edit :

    1- the owner of the workflow is the same one used to log in to the plugin registration tool

    2- the workflow is registered to run on demand.

    3- version of plugin registration tool is the same as the CRM

    4- the step of the workflow has a description

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans