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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Word Template GUID issues when deploying workflow solution

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Matt07 Profile Picture
    on at

    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).

  • Verified answer
    Thomas David Dayman Profile Picture
    11,323 on at

    Hi Matt,

    Maybe using this could work?

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

  • Matt07 Profile Picture
    on at

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

  • Matt07 Profile Picture
    on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans