Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Solution - Patch - Update workflow

Posted on by 220

Hello


I have sandbox and Prod environment.

I work in a patch solution.

In my patch I have a workflow, i modified in the test and that already exist in prod

when I export the patch as a managed solution and import it in prod the modified workflow in test is not modified in prod but the modified date of the workflow is update to the patch import date.

I checked in the xaml file and it's correct.

When i export the workflow as new solution it's ok , the workflow is updated

then i suppose there are limitation to patch : i found somes here :

https://msdn.microsoft.com/en-us/library/mt593040.aspx

Patches support the same operations as solutions, such as additive update, but not removal. You cannot remove components from a solution using a patch. To remove components from a solution perform an upgrade.

but they do not say anything about workflow.

*This post is locked for comments

  • Verified answer
    Nishant Rana Profile Picture
    Nishant Rana 55 Microsoft Employee on at
    RE: Solution - Patch - Update workflow

    This is what we also realized. I think it in the production the component would have been updated through default solution before the patch was moved.

    nishantrana.me/.../limitation-of-solution-patch-in-dynamics-365

  • Suggested answer
    Andreas Cieslik Profile Picture
    Andreas Cieslik 9,265 on at
    RE: Solution - Patch - Update workflow

    It could be possible that you might need to roll up all patches to a new solution.

    Check section "update a solution" in this article:

    msdn.microsoft.com/.../mt593040.aspx

    With this upgrade this might work as successfully as well.

    And yes there are some limitations compared to new solution versions, e.g. removal of elements.

    Another reason could be that you have a running or pending system job based on that workflow you want to replace.

    Those need to be completed first prior to replacing/removal of the workflow.

  • Dc1 Profile Picture
    Dc1 220 on at
    RE: Solution - Patch - Update workflow

    you mean set the workflow in draft. that change nothing

  • Andreas Cieslik Profile Picture
    Andreas Cieslik 9,265 on at
    RE: Solution - Patch - Update workflow

    What happens if you unpublish the workflow in the target system first? Will the patch be successfull?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Solution - Patch - Update workflow

    A way to do this is through computer-telephony integration (CTI), where the CRM is connected to the phone system to ensure a seamless sales call workflow. This is what our application at Tenfold does, linking CRMs to phones so that sales reps can optimize their performance and deliver more results. With Tenfold, users can get functions like screen popup caller ID(inbound and outbound), automatic call logging, task creation, email template integration, social profile integration, among others. They support MS Dynamics integration. Anyone interested can get a demo here: www.tenfold.com/.../dynamics

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans