• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/AutoMerge Workflow Troubleshooting

AutoMerge Workflow Troubleshooting

786 views 0 Updated on July 27, 2022

This blog article explains what to do when generating an AutoMerge Workflow and following error message appears:

“AutoMergeWorkflow.Execute(),RetrieveMultiple Entities.count:0”

AutoMerge Workflow Error:

Plugin Trace:
[AutoMergeWorkflow: AutoMergeWorkflow.AutoMergeWorkflow]
[AutoMergeWF: CreateDocument]
Entered AutoMergeWorkflow.Execute(), Activity Instance Id: 36, Workflow Instance Id: 9f35be36-5c3a-4e2a-a642-b0fd917ac286
AutoMergeTest.Execute(), Correlation Id: 8330486f-796a-4ce2-b085-10b4c38e56a4, Initiating User: f30d0c9e-1e48-dd11-a1c7-001f29c98458, Operationid:c87fcf3c-1aa9-e311-ac5f-005056905fd7, OperationTime: 12:39:53, RequestId:
AutoMergeWorkflow.Execute(), Start generate DocX v1.3
AutoMergeWorkflow.Execute(), before template
AutoMergeWorkflow.Execute(), generate command
AutoMergeWorkflow.Execute(), PrimaryEntityid:9c31f161-d388-e311-b9c9-005056905fd7
AutoMergeWorkflow.Execute(), PrimaryEntityName:salesorder
AutoMergeWorkflow.Execute(), TemplateId:98554dfa-01a9-e311-ac5f-005056905fd7
AutoMergeWorkflow.Execute(), command: false
Create 9c31f161-d388-e311-b9c9-005056905fd7 salesorder<!–
PrimaryEntityLogicalName>98554dfa-01a9-e311-ac5f005056905fd7pdfc87fcf3c-1aa9-e311-ac5f005056905fd7 0<!–
AMPluginParameters>
AutoMergeWorkflow.Execute(),ConditionFormatted
  AutoMergeWorkflow.Execute(),RetrieveMultiple Entities.count:0
Error Message:
Unhandled Exception: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: ERROR
at AutoMergeWorkflow.AutoMergeWorkflow.Execute(CodeActivityContext executionContext)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Inner Exception: System.Exception: ERROR NO RESULT
at AutoMergeWorkflow.AutoMergeWorkflow.Execute(CodeActivityContext executionContext)

Solution:

Open your CRM and navigate to the “Solutions”:

image

Figure 1: Solutions in your CRM

This action will open following window:

image

Figure 2: All available solutions listed

Next display all installed solutions and search for the “AutoMergeServerCore”-solution.  (See next screenshot)

image

Figure 3: Select AutoMergeServerCore-solution

Open the “AutoMergeServerCore”-solution with a double-click. Following window opens:

image

Figure 4: AutoMergeServerConfig

Now click on [Save] and try it again. The problem should be solved now.

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

Was this helpful?

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.