Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Word Template GUID issues when deploying workflow solution

Posted on by

Hi, I'm new to the world of CRM and have just deployed my first release.

The solution that I exported from Development to Production only contained a few basic javascript, form and option set changes to keep things simple for my first release.  The solution strategy in place at my employer is to keep everything bar plugins in one solution.  What this means is that 100+ workflows get deployed every release despite making no changes to them.

After deploying a large number of these workflows were unable to reactivate after being overwritten, due to GUID issues relating to Queues that they were referencing and Word Templates that they were using.

After experimenting I have been able to sort out the GUID issues for the Queues by using the Configuration Migration SDK tool to export Queues from Production and import them into the Development instance.  One or two lookup field references failed on import, but the main result is that the Queues in Development now have the same GUIDs as Production, so hopefully these will deploy in future without issue.

The problem I am struggling with is how to get round the GUID issue for the Word Templates.  These are used by a number of work flows and since they are lookups they all have GUIDs.  Since the GUID reference in the development area differs from production, then the workflow is unable to reactivate after deployment.  It's simple to fix as it just involves opening the workflow template step, saving it and then manually activating.  However, the sheer number of workflows makes this an onerous task so I'd rather it didn't happen!

Any suggestions would be most welcome.

Matt

*This post is locked for comments

  • Matt07 Profile Picture
    Matt07 on at
    RE: Word Template GUID issues when deploying workflow solution

    The word template copy app worked a treat and it highlighted that 95% of the word template guids were actually identical across instances.  The real problem is differences in owning user guids.  I'm now having fun trying to work out how to use the Alexander Development Configuration Data Mover.

    Anyway, thanks again Thomas.

  • Matt07 Profile Picture
    Matt07 on at
    RE: Word Template GUID issues when deploying workflow solution

    Many thanks Thomas!  I'll give that a try.

  • Verified answer
    Thomas David Dayman Profile Picture
    Thomas David Dayman 11,323 on at
    RE: Word Template GUID issues when deploying workflow solution

    Hi Matt,

    Maybe using this could work?

    crmtipoftheday.com/.../use-the-xrmtoolbox-to-copy-templates

  • Matt07 Profile Picture
    Matt07 on at
    RE: Word Template GUID issues when deploying workflow solution

    I should add that I can't see any option in the Configuration Migration tool to export the production Word Templates with GUIDs (unlike Entities where you can do this).

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

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans