• Documentation
  • Back to www.mscrm-addons.com
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/Process generated document in a workflow from the dialog

Process generated document in a workflow from the dialog

151 views 0 Updated on April 1, 2020

This blog article outlines how to execute an additional “Attach document”-operation by checking the Run workflow checkbox in the DocumentsCorePack Dialog (highlighted in yellow below). Therefore you have to create a workflow, which will then be displayed in the Run workflow drop-down menu. 

More information about how to create a workflow can be found here.

DocumentsCorePack Dialog - Run workflow
Figure 1: DocumentsCorePack Dialog – Run workflow

  

Within this tutorial, we will create such a workflow step-by-step. The result will be a document which will be ❶ attached to an e-mail and also ❷ attached as a note as you can see in the figure below.

The result

Figure 2: The result

Please open your Microsoft Dynamics 365 and navigate to Settings > Processes. In the My Processes – area, click on the [New]-button in order to create a new workflow.  A dialog pops up. Type in ❶ the name of your workflow, determine ❷ an entity – MSCRM-ADDONS.com AutoMergeWorkingItems in this case and select ❸ Workflow as the process category. Afterward, hit the [OK]-button.

Figure 3: Create a new workflow

The window below pops up, where you can configure your workflow in detail. Please check the ❶ As an on-demand checkbox in the Available to Run-area and as Scope select ❷ Organization. Next, please add a new step by hitting on the [Add Step]-drop-down menu and select ❸ Create Record.

Figure 4: Create Record

As soon as the step has been added to your workflow, please enter ❶ a name that remains you of what it contains, e.g. Attach note. Then open the drop-down menu, select ❷ MSCRM-ADDONS.com AutoMergeWorkingItems and hit the ❸ [Set Properties]-button.

Figure 5: MSCRM-ADDONS.com AutoMergeWorkingItems – Set properties

The dialog below opens. It allows you to configure your workflow. Again, give it a ❶ name – Attach a note in this case and select ❷ AttachToEntity in the AutoMergeAction-field. Next, set the cursor in the ❸ PrimaryRecordUrl-field and select ❹ PrimaryRecordUrl in the drop-down menu in the Form Assistant, click on the [Add]-button and hit the [OK]-button below (highlighted in yellow). The PrimaryRecordUrl-field is filled now. Do the same for the ❺ EntityToAttach (RecordURL(Dynamic)). Then, set the cursor in the ❻ DocumentGUID-field, select CreatedDocument in the Form Assistant and proceed like before. To finish the workflow, please do not forget to click on the ❼ [Save and Close]-button.

Configure the workflow
Figure 6: Configure the workflow

After finishing the configuration, do not forget to activate your so created workflow by hitting the [Activate]-button located at the top.

To see the result, please open the DocumentsCorePack Dialog by hitting the [Create Document]-button in your Dynamics 365. As shown in the first figure, the dialog ❶ attaches the document as an email attachment and by checking the ❷ Run workflow checkbox you can start the so created workflow and also attach it as a note.

The result
Figure 7: The result

​

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
  • How to access mscrm-addons product settings in Dynamics 365
  • One-Click-Actions (OCAs) in DocumentsCorePack
  • Service Configuration options
  • Multipart documents in DocumentsCorePack
  • Azure Active Directory Licensing counts explained
  • DocumentsCorePack: Performance benchmark, limitations & scalability
Latest Articles
  • How to display various activity-attributes within multiple rows in Gantt view
  • Recap: European Power Platform Conference 2022
  • How to solve the issue with DocumentsCorePack fields in Arabic text
  • How to access mscrm-addons product settings in Dynamics 365
  • One-Click-Actions (OCAs) in DocumentsCorePack
Popular Articles
  • DocumentsCorePack Online Service Configuration
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • How licenses are counted
Top Rated Articles
  • 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
  • Can you save data capacity by moving email content?
  • How to shorten an alias (Alias is longer than 128 characters)
Categories
  • *News and General Infos* 50
  • Template Designer(DCP 160
  • DocumentsCorePack(DCP 180
  • TelephoneIntegration (TI 64
  • AttachmentExtractor (AE 55
  • PowerSearch (PS 43
  • ActivityTools (AT 57
  • SmartBar (SB 51
  • GroupCalendar (GC 45
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.