With the option to schedule document operations inside Microsoft Dynamics CRM – DocumentsCorePack opens up its capabilities for scheduled reports.
Whether you want to
- get a simple overview of all opportunities closed last month,
- you wish to send a reminder to a group of selected customers automatically or
- you would simply like to find a printed copy of all invoices every morning in your printer –
with “scheduled reports” this is not only possible, it is also easy.
This article describes which preconditions are needed in order to run the tool and is a step-by-step instruction of how to use and benefit from the scheduler.
What components are needed & how does it work?
1) DocumentsCorePack workflow integration:
(allows to automate document generation and processing inside MS CRM workflows)
2)Mscrm-addons.com Scheduler:
(this entity allows to configure schedules for workflows that are to be executed)
The Scheduler allows you to define queries for CRM records where a certain workflow is executed by following a defined schedule.
EXAMPLE: Step-by-Step instruction on how to define a scheduled report
How to configure scheduled reports?
Step 1: Create a Workflow that performs the operation you wish to schedule. In case you have not created a workflow in Microsoft Dynamics CRM yet, get some advice how to do this here:
In our example, we decided to create a workflow that would remind all customers with outstanding bills automatically via eMail.
Therefore, we opened a new process in Settings>Processes by clicking on [New]:
![]()
The following window opens.
Choose a unique name for your process and enter it to "Process name". To create an Invoice workflow, enter the corresponding category and entity. As we decided to create an Invoice Reminder, so we named it correspondingly. Click on [OK].
![]()
The following window appears:
![]()
![]()
1) Create Document
Click on AddStep > AutoMergeWF > CreateDocument in order to create a new document.
A new step appears in your general window. Click on [Set Properties] and the following window appears.
Choose your preferred template for your future invoice here. Press Save and Close in order to proceed.
![]()
2) Create Record
Click on AddStep > CreateRecord in order to create a new record.
You will be asked which record you would like to create. In our example, we chose "Email".
Again, click on [Set Properties]. In the next window, you can modify your Email content and create your Email. Do not
forget to press [Save and Close] when you have finished.
![]()
3) Attach to Email:
Back at the general window, again click on AddStep > AutoMergeWF > AttachToEmail.
A new step will be added. Please click on [Set Properties] again and the
following window appears.
The Form Assistant at the right side enables you to set the dynamic values of the created record.
In our example, we looked for [Create Email], the record that we have created in the last step.
Please note: It is necessary to click first in the field at the left side (marked by an arrow) and to set your properties afterwards, because the system needs to know which field to fill. Furthermore, it is crucial to press save and close (upper left corner) as soon as you have finished.
![]()
Click in the next field and look for the document you want to attach. In our example, it is the document we
have created in Step 1).
![]()
4) SendEmail
In the next step, we define which Email we want to send. Do not forget to save and close the window!
In our example, the workflow looks as follows:
![]()
Get a more detailed view at the added steps (with an explanation):
![]()
Step 2: Create a new MSCRM-ADDONS.COM SCHEDULER record.The entity comes with the installation of DocumentsCorePack. You can add the entity to the CRM-menu or use the Advanced Find to create a new scheduler configuration.
How to configure the Scheduler properly:
![image image]()
Step 3: Create a fetch
To create a fetch, please open the advanced find.
Simply insert your preferences there and click on
. In our example, we decided to set a 7 days due date.
![]()
The following window appears:
![]()
Once created, simply copy the text of the fetch into the corresponding field of the scheduler. Save and proceed.
![]()
That’s it!
We appreciate your feedback about our latest feature and your CRM 2016 user experience. Please share your thoughts by sending an email to office@mscrm-addons.com