• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/Process Batches in Customer Journeys

Process Batches in Customer Journeys

176 views 1

In addition to the integration of DocumentsCorePack in Customer Journeys enabling customers to generate documents for individuals passing through a journey, there may be times when a journey should handle and process documents in batch documents, such as when creating documents for multiple contacts at a time.  In these cases, a journey and its respective flow must be configured to account for this adjustment.   

A new DocumentsCorePack action has been introduced to handle these situations: the “Process batch in customer journey” action.  This article will cover how to use this action. 

Note: For an overview on this action, please see here.

Creating the flow for our journey  

In this example, we will create a flow for a customer journey that can handle batch document creation when multiple contacts are created.  The flow will generate several welcome letters for our contacts and compile them into a batch document. 

To begin, create a journey as shown here.  When creating the Flow, add the „Process batch in customer journey (sync) (V4)“ action after the initial trigger. 

 Adding the action to our flow
Figure 1: Adding the action to our flow
The action as shown in the flow
Figure 2: The action as shown in the flow

In the parameters of this action, set ❶ Table to Contact.  For the ❷ Row ID, set it to ❸ “ActionInputs msdynmkt_profileid”(this parameter holds the ID of the individual in the journey). Then, set the ❹ template to the template of your choosing, ❺ Journey to the journey you’ve created, and the ❻ file type to PDF. 

The basic parameters of the action
Figure 3: The basic parameters of the action

If needed, the BatchDelay and BatchSize parameters can be configured under Advanced parameters.  BatchDelay indicates the number of hours the flow will wait before generating a batch.  BatchSize indicates the maximum number of records to be accumulated before generating a batch. 

Note: When BatchDelay has been set and the BatchSize requirements have been met, the flow will still wait roughly 15 minutes before generating the batch document. 

BatchDelay and BatchSize
Figure 4: The BatchDelay and BatchSize parameters

If the documents within the batch document should be sorted, the Sort Column can be used.  In this instance, the “ActionInputs msdynmkt_name” parameter is used.  This will sort the documents based on the name of the Contact. 

The SortColumn parameter
Figure 5: The SortColumn parameter

To attach the document to a specific record, enter the record ID in the ❶ Attach To [Row ID] field.  In this case, the ID is set to ❷ “ActionInputs msdynmkt_profileid.”  The ❸ Attach To [Table] field must also be filled out when attaching the document to a record. 

The "Attach To" parameters
Figure 6: The “Attach To” parameters

Once the flow has been configured, we will save it.  By creating multiple contacts, the journey will be triggered and the batch document will be generated. 

A portion of our generated document
Figure 7: A portion of our generated document

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

Was this helpful?

1 Yes  1 No
Related Articles
  • 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
  • Building Custom XML for Multipart documents
Latest Articles
  • DocumentsCorePack: Best practices for Dynamics 365 on-premises to online migration projects
  • Multilingual Support in DocumentsCorePack
  • Recap: ColorCloud 2025
  • Configure DocumentsCorePack within custom pages
  • AI-Powered Document Generation with Copilot in Sales
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 44
  • Template Designer(DCP 196
  • DocumentsCorePack(DCP 250
  • 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.