• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/Fix for wait condition stuck issue

Fix for wait condition stuck issue

1282 views 2 Updated on July 26, 2022

When using DocumentsCorePack with workflows it is sometimes necessary to wait for some reasons. This blog article describes how to avoid this issue.

For example: If you want to create a new document, you have to wait until a document has been created. When DocumentsCorePack has processed an AutoMergeWorkingItem, it sets the status to inactive.

To delay the workflow wait conditions inside, workflows have been set up to wait for this change. So the following steps could already work with the document and send it to DocuSign for example. Unfortunately recently it occurred more often that those wait conditions can cause the system job to get stuck at that point.

There is a newer possible fix availabe than the described below you can consider this procedure as well as a possible solution or workaround.

Wait condition issue fix in workflows

One solution to continue those system jobs is to change the status of the AutoMergeWorkingItem to active and back to inactive. To avoid this issue in the beginning you can also change the wait condition (see figure 1 highlighted in yellow).

DocumentsCorePack service is setting the ReturnValue after completing the AutoMergeWorkingItem to the name of the server where it is running. So instead of checking for the state inactive, please check if the ReturnValue starts with [servername of the service].

If you are using DocumentsCorePack online service, the server name you have to check is “AUTOMERGE”. For On-Premise services please use the server name where the DocumentsCorePack service is configured.

We would recommend using Microsoft Flows instead of a Workflow if possible, to avoid the wait condition issue. How to set up, activate, or work with the DocumentsCorePack Custom Connector see

  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow &
  • How to use the most common Actions of the DocumentsCorePack Connector for Microsoft Flow

Example for DocumentsCorePack online:


DocumentsCorePack Wait Condition

Figure 1:DocumentsCorePack Wait Condition

That´s it! We appreciate your feedback! Please share your thoughts by sending an email to support@mscrm-addons.com

​

Was this helpful?

2 Yes  No
Related Articles
  • Document Generation via Copilot in Dynamics 365 Sales using DocumentsCorePack
  • DocumentsCorePack: Best practices for Dynamics 365 on-premises to online migration projects
  • Multilingual Support in DocumentsCorePack
  • Configure DocumentsCorePack within custom pages
  • Ensuring correct time zone display for DateTime fields
  • Document Generation Failure from Missing Privileges
Latest Articles
  • Document Generation via Copilot in Dynamics 365 Sales using DocumentsCorePack
  • DocumentsCorePack: Best practices for Dynamics 365 on-premises to online migration projects
  • Multilingual Support in DocumentsCorePack
  • Recap: ColorCloud 2025
  • Configure DocumentsCorePack within custom pages
Popular Articles
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
  • Application Access for Dynamics 365
  • How to find your environment’s unique name in Microsoft Dynamics 365
  • How licenses are counted
Top Rated Articles
  • “Undefined”-labels in Chrome and Edge 114 and higher
  • Important information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack Connector for PowerApps & Microsoft Flow
  • How licenses are counted
  • How to insert Condition Fields in DocumentsCorePack Templates designer
Categories
  • *News and General Infos* 62
  • Webinars 45
  • Template Designer(DCP 196
  • DocumentsCorePack(DCP 251
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 72
  • PowerSearch (PS 50
  • ActivityTools (AT 61
  • SmartBar (SB 54
  • GroupCalendar (GC 47
Our Vision

“We see it as our purpose to provide products that simplify and speed up our customers’ Microsoft Dynamics 365 experience.”

Knowledgebase
LogIn
mscrm-addons.com
  • Products
  • Online Shop
  • Downloads
  • My Account
About Us
  • About Us
  • Case Studies
  • Newsletter
  • Partner Program
  • Contact
Support
  • Support
  • Terms & Conditions
  • Documentation
  • Webinars
  • Legal Documents
  • Impressum
  • © 2022 www.mscrm-addons.com. All Rights Reserved.