• 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

401 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
  • Dynamic document Header & Footer selection via the DocumentsCorePack Dialog
  • Azure Blob Storage: Setting Recommendations 
  • Migrating One-Click-Actions Using the Data Migration Tool 
  • Force Service to be the only document-generating service
  • The DocumentsCorePack Dialog
  • DocuSign is retiring basic authentication
Latest Articles
  • Impact of Microsoft changes regarding email storage in Dataverse
  • Dynamic document Header & Footer selection via the DocumentsCorePack Dialog
  • Azure Blob Storage: Setting Recommendations 
  • Migrating One-Click-Actions Using the Data Migration Tool 
  • Force Service to be the only document-generating service
Popular Articles
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • DocumentsCorePack Online Service Configuration
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
  • Step-by-Step: How to configure a One-Click-Action
  • How licenses are counted
Categories
  • *News and General Infos* 52
  • Webinars 37
  • Template Designer(DCP 184
  • DocumentsCorePack(DCP 203
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 64
  • PowerSearch (PS 48
  • ActivityTools (AT 59
  • SmartBar (SB 53
  • GroupCalendar (GC 46
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.