web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)
Active Discussion

Custom Workflow compiles and deploys, but new code does not take effect

(0) ShareShare
ReportReport
Posted on by 5

I am working with Dynamics 365 (8.x) online.

I am a new CRM developer working through some bugs.  I come to the development side from several years of CRM integration/migration and reporting.

I was able to update a custom workflow on Monday with few new lines of code.  The workflow compiled and deployed successfully.  One of the new additions worked as desired, the other did not.  I have tried various changes to get the second addition to work, but nothing has 'appeared' to make a difference.  After many attempts at fixing the code and deployments, I suspected that the deployment of the workflow was not actually taking effect, so I comment out the successful first addition and redeployed.  Still no change in D365.  No matter what I change and deploy, the workflow remains the same as the first deployment I made on Monday.  Yesterday, I tried incrementing the  revision number of the workflow assembly; we have not been doing that.  Still no change.

Can anyone suggest other avenues that I can try?  We would prefer to not unregister the workflow.  This would be a last resort.

Thanks for your insight and help

*This post is locked for comments

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    For custom workflow activity, if you change the parameters then it won't update. You need to register it again. Check the below links-

    docs.microsoft.com/.../update-custom-workflow-activity-using-assembly-versioning

    community.dynamics.com/.../261109

    Hope this helps.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans