<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/"><channel><atom:link href="https://www.mscrm-addons.com/DesktopModules/LiveBlog/API/Syndication/GetRssFeeds?Tag=entity&amp;mid=2185&amp;PortalId=0&amp;tid=165&amp;ItemCount=20" rel="self" type="application/rss+xml" /><title>News.mscrm-addons.com Blog</title><description>Hello and welcome to our blog! 

What can we do for you? 
Are you looking for further technical information or step-by-step instructions to our products? Or would you like to read the latest news on mscrm-addons?
Please feel free to browse our blog for detailed information and to share our posts! </description><link>https://www.mscrm-addons.com/Blog</link><item><title>Process generated document in a workflow from the dialog</title><link>https://www.mscrm-addons.com/Blog/PostId/10162/process-generated-document-in-a-workflow-from-the-dialog</link><category>*General*,DocumentsCorePack (DCP),DCP 365</category><pubDate>Tue, 04 Dec 2018 13:44:41 GMT</pubDate><description>&lt;p style="text-align: justify;"&gt;This blog article outlines how to execute an additional "Attach document"-operation&lt;span style="text-align: justify;"&gt;&amp;nbsp;by checking the&amp;nbsp;&lt;/span&gt;&lt;span style="text-align: justify;"&gt;&lt;strong&gt;Run workflow&lt;/strong&gt;&lt;/span&gt;&lt;span style="text-align: justify;"&gt;&amp;nbsp;checkbox in the DocumentsCorePack Dialog (highlighted in yellow below). Therefore you have to create a workflow, which will &lt;span style="text-align: justify;"&gt;then&amp;nbsp;&lt;/span&gt;be displayed in the Run workflow drop-down menu.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;More information about how to create a workflow can be found&amp;nbsp;&lt;a href="https://www.mscrm-addons.com/Blog/PostId/9980/how-do-i-create-a-workflow-with-dcp-sb-online-msdyn365" target="_blank"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;div class=" data-plugin-options=" style="text-align: justify;"&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}"&gt;
&lt;a title="DocumentsCorePack Dialog - Run workflow" href="/Portals/0/Blog/Process_generated_document_in_a_workflow_from_the_dialog/Figure1.png"&gt; &lt;img alt="DocumentsCorePack Dialog - Run workflow" width="409,5" height="367,5" class="img-responsive" src="/Portals/0/Blog/Process_generated_document_in_a_workflow_from_the_dialog/Figure1.png" /&gt; &lt;/a&gt;&lt;/div&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}"&gt;&lt;em&gt;Figure 1: DocumentsCorePack Dialog - Run workflow&lt;/em&gt;&lt;/div&gt;
&lt;p class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}"&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}"&gt;&lt;em&gt;&lt;/em&gt;Within this tutorial, we will create such a workflow step-by-step. The result will be a document which will be&amp;nbsp;&lt;span style="text-align: justify; font-size: 24px; color: #0077b3;"&gt;❶&lt;/span&gt; attached to an e-mail and also &lt;span style="text-align: justify; font-size: 24px; color: #0077b3;"&gt;❷&amp;nbsp;&lt;/span&gt;attached as a note as you can see in the figure below.&lt;/p&gt;
&lt;p class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}"&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}" style="text-align: justify;"&gt;&lt;a title="The result" href="https://www.mscrm-addons.com/Portals/0/Blog/Process_generated_document_in_a_workflow_from_the_dialog/Figure.png"&gt;&lt;img alt="The result" width="674" height="414,5" class="img-responsive" src="https://www.mscrm-addons.com/Portals/0/Blog/Process_generated_document_in_a_workflow_from_the_dialog/Figure.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}" style="text-align: justify;"&gt;Figure 2: The result&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;/p&gt;
&lt;/div&gt;
&lt;p style="text-align: justify;"&gt;Please open your Microsoft Dynamics 365 and navigate to Settings &amp;gt; Processes. In the My Processes - area, click on the &lt;strong&gt;[New]&lt;/strong&gt;-button in order to create a new workflow.&amp;nbsp; A dialog pops up. Type in&amp;nbsp;&lt;span style="font-size: 24px; color: #0077b3;"&gt;❶&amp;nbsp;&lt;/span&gt;the name of your workflow, determine&amp;nbsp;&lt;span style="font-size: 24px; color: #0077b3;"&gt;❷&amp;nbsp;&lt;/span&gt;an entity - &lt;strong&gt;MSCRM-ADDONS.com AutoMergeWorkingItems&lt;/strong&gt; in this case and select&amp;nbsp;&lt;span style="font-size: 24px; color: #0077b3;"&gt;❸&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Workflow&lt;/strong&gt; as the process category. Afterward, hit the &lt;strong&gt;[OK]&lt;/strong&gt;-button.&amp;nbsp;&lt;/p&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}" style="text-align: justify;"&gt;&lt;a title="Create a new workflow" href="https://www.mscrm-addons.com/Portals/0/Blog/Process_generated_document_in_a_workflow_from_the_dialog/Figure2.png"&gt;&lt;img alt="Create a new workflow" width="412" height="309,5" class="img-responsive" src="https://www.mscrm-addons.com/Portals/0/Blog/Process_generated_document_in_a_workflow_from_the_dialog/Figure2.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}" style="text-align: justify;"&gt;Figure 3: Create a new workflow&lt;/div&gt;
&lt;p style="text-align: justify;"&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;The window below pops up, where you can configure your workflow in detail. Please check the &lt;span style="text-align: justify; font-size: 24px; color: #0077b3;"&gt;❶&lt;/span&gt;&lt;strong&gt;&amp;nbsp;As an on-demand&lt;/strong&gt; checkbox in the Available to Run-area and as Scope select&amp;nbsp;&lt;span style="text-align: justify; font-size: 24px; color: #0077b3;"&gt;❷&lt;/span&gt; &lt;strong&gt;Organization&lt;/strong&gt;. Next, please add a new step by hitting on the &lt;strong&gt;[Add Step]&lt;/strong&gt;-drop-down menu and select &lt;span style="text-align: justify; font-size: 24px; color: #0077b3;"&gt;❸&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Create Record&lt;/strong&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;/p&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}" style="text-align: justify;"&gt;&lt;a title="Create Record" href="https://www.mscrm-addons.com/Portals/0/Blog/Process_generated_document_in_a_workflow_from_the_dialog/Figure3.png"&gt;&lt;img alt="Create Record" width="524" height="418,5" class="img-responsive" src="https://www.mscrm-addons.com/Portals/0/Blog/Process_generated_document_in_a_workflow_from_the_dialog/Figure3.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}" style="text-align: justify;"&gt;Figure 4: Create &lt;g class="gr_ gr_50 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins replaceWithoutSep" id="50" data-gr-id="50"&gt;Record&lt;/g&gt;&lt;/div&gt;
&lt;p style="text-align: justify;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;As soon as the step has been added to your workflow, please enter &lt;span style="text-align: justify; font-size: 24px; color: #0077b3;"&gt;❶&amp;nbsp;&lt;/span&gt;a name that remains you of what it contains, e.g. Attach note. Then open the drop-down menu, select&amp;nbsp;&lt;span style="text-align: justify; font-size: 24px; color: #0077b3;"&gt;❷&lt;/span&gt; MSCRM-ADDONS.com AutoMergeWorkingItems and hit the&amp;nbsp;&lt;span style="text-align: justify; font-size: 24px; color: #0077b3;"&gt;❸&lt;/span&gt;&amp;nbsp;&lt;strong&gt;[Set Properties]&lt;/strong&gt;-button.&amp;nbsp;&lt;/p&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}" style="text-align: justify;"&gt;&lt;a title="MSCRM-ADDONS.com AutoMergeWorkingItems - Set properties" href="https://www.mscrm-addons.com/Portals/0/Blog/Process_generated_document_in_a_workflow_from_the_dialog/Figure4.png"&gt;&lt;img alt="MSCRM-ADDONS.com AutoMergeWorkingItems - Set properties" width="306" height="280,5" class="img-responsive" src="https://www.mscrm-addons.com/Portals/0/Blog/Process_generated_document_in_a_workflow_from_the_dialog/Figure4.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}" style="text-align: justify;"&gt;Figure 5: MSCRM-ADDONS.com AutoMergeWorkingItems - Set properties&lt;/div&gt;
&lt;p style="text-align: justify;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;The dialog below opens. It allows you to configure your workflow. Again, give it a &lt;span style="text-align: justify; font-size: 24px; color: #0077b3;"&gt;❶&amp;nbsp;&lt;/span&gt;name - &lt;strong&gt;Attach a note&lt;/strong&gt; in this case and select&amp;nbsp;&lt;span style="text-align: justify; font-size: 24px; color: #0077b3;"&gt;❷&lt;/span&gt; &lt;strong&gt;AttachToEntity &lt;/strong&gt;in the AutoMergeAction-field. Next, set the cursor in the &lt;span style="text-align: justify; font-size: 24px; color: #0077b3;"&gt;❸&amp;nbsp;&lt;/span&gt;PrimaryRecordUrl-field and select&amp;nbsp;&lt;span style="text-align: justify; font-size: 24px; color: #0077b3;"&gt;❹&lt;/span&gt; &lt;strong&gt;PrimaryRecordUrl &lt;/strong&gt;in the drop-down menu in the Form Assistant, click on the&lt;strong&gt; [Add]&lt;/strong&gt;-button and hit the &lt;strong&gt;[OK]&lt;/strong&gt;-button below (highlighted in yellow). The PrimaryRecordUrl-field is filled now. Do the same for the &lt;span style="font-size: 24px; color: #0077b3;"&gt;❺&amp;nbsp;&lt;/span&gt;&lt;strong&gt;EntityToAttach (RecordURL(Dynamic))&lt;/strong&gt;. Then, set the cursor in the &lt;span style="font-size: 24px; color: #0077b3;"&gt;❻&amp;nbsp;&lt;/span&gt;&lt;strong&gt;DocumentGUID&lt;/strong&gt;-field, select &lt;strong&gt;CreatedDocument &lt;/strong&gt;in the Form Assistant and proceed like before. To finish the workflow, please do not forget to click on the&amp;nbsp;&lt;span style="font-size: 24px; color: #0077b3;"&gt;❼&lt;/span&gt; &lt;strong&gt;[Save and Close]&lt;/strong&gt;-button.&amp;nbsp;&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}" style="text-align: justify;"&gt;&lt;a title="Configure the workflow" href="https://www.mscrm-addons.com/Portals/0/Blog/Process_generated_document_in_a_workflow_from_the_dialog/Figure5.png"&gt;&lt;img alt="Configure the workflow" width="629" height="416,5" class="img-responsive" src="https://www.mscrm-addons.com/Portals/0/Blog/Process_generated_document_in_a_workflow_from_the_dialog/Figure5.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}" style="text-align: justify;"&gt;Figure 6: Configure the workflow&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;After finishing the configuration, do not forget to activate your so created workflow by hitting the &lt;strong&gt;[Activate]&lt;/strong&gt;-button located at the top.&amp;nbsp;&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;To see the result, please open the DocumentsCorePack Dialog by hitting the&amp;nbsp;&lt;strong&gt;[Create Document]&lt;/strong&gt;-button in your Dynamics 365. As shown in the first figure, the dialog&amp;nbsp;&lt;span style="text-align: justify; font-size: 24px; color: #0077b3;"&gt;❶&amp;nbsp;&lt;/span&gt;attaches the document as an email attachment and by checking the&amp;nbsp;&lt;span style="text-align: justify; font-size: 24px; color: #0077b3;"&gt;❷&lt;/span&gt; &lt;strong&gt;Run workflow&lt;/strong&gt; checkbox you can start the so created workflow and also attach it as a note.&amp;nbsp;&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}" style="text-align: justify;"&gt;&lt;a title="The result" href="https://www.mscrm-addons.com/Portals/0/Blog/Process_generated_document_in_a_workflow_from_the_dialog/Figure6.png"&gt;&lt;img alt="The result" width="353,5" height="318" class="img-responsive" src="https://www.mscrm-addons.com/Portals/0/Blog/Process_generated_document_in_a_workflow_from_the_dialog/Figure6.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}" style="text-align: justify;"&gt;Figure 7: The result&amp;nbsp;&lt;/div&gt;
&lt;/p&gt;
&lt;p class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}" style="text-align: justify;"&gt;​&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px;"&gt;&lt;span style="background-color: #fcfcfc; text-align: justify; color: #565656;"&gt;&lt;strong&gt;That&amp;rsquo;s it!&lt;/strong&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: #fcfcfc; text-align: justify;"&gt;We appreciate your feedback! Please share your thoughts by sending an email to&amp;nbsp;&lt;/span&gt;&lt;a href="mailto:support@mscrm-addons.com" style="background-color: #fcfcfc; text-align: justify;"&gt;support@mscrm-addons.com&lt;/a&gt;&lt;span style="background-color: #fcfcfc; text-align: justify;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description><guid isPermaLink="false">10162</guid></item></channel></rss>