Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Why No Plug-in Profile created by custom workflow in Dynamics 365?

Posted on by Microsoft Employee

Created a custom workflow activity in Visual Studio, and registered successfully. I created workflow to use that custom activity and try to debug for it.

Workflow Profile is created successfully with correct workflow.

profile1.JPG

Workflow runs but no profile can be found under Plug-in Profile section. I have no way to debug through the code.

profile2.JPG

Could any one help on this?

Thanks,

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Why No Plug-in Profile created by custom workflow in Dynamics 365?

    I figured out the problem.

    The issue is that my profiled workflow status is "Waiting", not "successful", because it throws exceptions before goings to "execute" function in custom activity class.

    The issue is due to the fact you will need to add default value for your custom InArguments as in the following link: https://crmdynamicsblog.wordpress.com/2016/11/30/custom-activity-workflow-debug-error-syntax-error-in-cast-operator-two-arguments-separated-by-comma-are-required/

    After adding default values for input properties, workflow runs successfully and profile is created in plug-in profile entity.

    Hope this post will help others who pulling their hairs to dead. :)

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Why No Plug-in Profile created by custom workflow in Dynamics 365?

    Hi Jeffz,

    Please follow the steps in the following blog to debug a custom workflow activity in dynamics CRM.

    dreamingincrm.com/.../debugging-custom-workflow-assemblies/

    Hope this helps.

  • Suggested answer
    Nadeeja Bomiriya Profile Picture
    Nadeeja Bomiriya 6,804 on at
    RE: Why No Plug-in Profile created by custom workflow in Dynamics 365?

    Hi Jeffz80,

    Please follow the instructions below to debug your custom workflow activity.

    ssharmacrm.wordpress.com/.../how-to-debug-a-custom-workflow-activity-in-dynamics-crm

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Why No Plug-in Profile created by custom workflow in Dynamics 365?

    Make you workflow synchronous and try again

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans