{"id":22695,"date":"2020-02-03T11:26:03","date_gmt":"2020-02-03T11:26:03","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=22695"},"modified":"2022-06-14T15:28:56","modified_gmt":"2022-06-14T09:58:56","slug":"creating-activities-using-power-automate-flows-now-possible","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2020\/02\/creating-activities-using-power-automate-flows-now-possible\/","title":{"rendered":"Creating Activities using Power Automate Flows now possible!"},"content":{"rendered":"<h2><strong>Introduction<\/strong><\/h2>\n<p style=\"text-align: justify;\">Power Automate is the next big thing for Microsoft as it helps to perform automated actions and operations without requiring pro-dev capabilities. The power of the flow however, depends on how comprehensive the connectors are.<\/p>\n<p style=\"text-align: justify;\">Microsoft has been working to enhance its connectors for Dynamics 365 CRM. This journey started with the release of Dynamics 365 CRM Connector which is now deprecated and can no longer be used.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-22703\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/1How-to-Create-Activities-using-Power-Automate-Flows.png\" alt=\"How to Create Activities using Power Automate Flows\" width=\"1040\" height=\"880\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/1How-to-Create-Activities-using-Power-Automate-Flows.png 667w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/1How-to-Create-Activities-using-Power-Automate-Flows-300x254.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/1How-to-Create-Activities-using-Power-Automate-Flows-660x558.png 660w\" sizes=\"(max-width: 1040px) 100vw, 1040px\" \/><\/p>\n<p style=\"text-align: justify;\">Then came the Common Data Service Connector. This connector was way advanced than the Dynamics 365 CRM connector and we were allowed to perform CRUD Operations on CDS entities.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-22702\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/2How-to-Create-Activities-using-Power-Automate-Flows.png\" alt=\"How to Create Activities using Power Automate Flows\" width=\"845\" height=\"636\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/2How-to-Create-Activities-using-Power-Automate-Flows.png 845w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/2How-to-Create-Activities-using-Power-Automate-Flows-300x226.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/2How-to-Create-Activities-using-Power-Automate-Flows-768x578.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/2How-to-Create-Activities-using-Power-Automate-Flows-660x497.png 660w\" sizes=\"(max-width: 845px) 100vw, 845px\" \/><\/p>\n<p>But the CDS connector only supports setting of the following properties for activity entities:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-22701\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/3How-to-Create-Activities-using-Power-Automate-Flows.png\" alt=\"How to Create Activities using Power Automate Flows\" width=\"656\" height=\"605\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/3How-to-Create-Activities-using-Power-Automate-Flows.png 607w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/3How-to-Create-Activities-using-Power-Automate-Flows-300x277.png 300w\" sizes=\"(max-width: 656px) 100vw, 656px\" \/><\/p>\n<p>One of the limitations of the CDS connector while creating activities was the inability to provide activity parties which made it impossible to use the connector for creating activities without any pro-dev expertise.<\/p>\n<p style=\"text-align: justify;\">The most recent version of CDS connector is the Common Data Service (Current) connector. It is this connector that you should be using moving forward on all of your projects. Also, it would be a good idea to update your old flows that references either of the older connectors to this one<strong><em>. <\/em><\/strong><\/p>\n<p><strong><em>Note: Common Data Service (Current) connector will ALWAYS connect to the environment within which the flow is being executed. <\/em><\/strong><\/p>\n<p>This connector is available only when a flow is created from within the context of a solution.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-22700\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/4How-to-Create-Activities-using-Power-Automate-Flows.png\" alt=\"How to Create Activities using Power Automate Flows\" width=\"854\" height=\"380\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/4How-to-Create-Activities-using-Power-Automate-Flows.png 807w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/4How-to-Create-Activities-using-Power-Automate-Flows-300x133.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/4How-to-Create-Activities-using-Power-Automate-Flows-768x341.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/4How-to-Create-Activities-using-Power-Automate-Flows-660x293.png 660w\" sizes=\"(max-width: 854px) 100vw, 854px\" \/><\/p>\n<p>And it supports the following additional actions:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-22699\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/5How-to-Create-Activities-using-Power-Automate-Flows.png\" alt=\"How to Create Activities using Power Automate Flows\" width=\"645\" height=\"695\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/5How-to-Create-Activities-using-Power-Automate-Flows.png 619w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/5How-to-Create-Activities-using-Power-Automate-Flows-278x300.png 278w\" sizes=\"(max-width: 645px) 100vw, 645px\" \/><\/p>\n<p>When you try to create an email record using this connector, you will be presented with the following screen:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-22698\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/6How-to-Create-Activities-using-Power-Automate-Flows.png\" alt=\"How to Create Activities using Power Automate Flows\" width=\"1031\" height=\"654\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/6How-to-Create-Activities-using-Power-Automate-Flows.png 715w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/6How-to-Create-Activities-using-Power-Automate-Flows-300x190.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/6How-to-Create-Activities-using-Power-Automate-Flows-660x418.png 660w\" sizes=\"(max-width: 1031px) 100vw, 1031px\" \/><\/p>\n<p>Apart from the fields on the email entity, you now have the ability to provide the activity parties associated with the activity.<\/p>\n<p>Activity Parties refer to To, From, CC, BCC, Required Resources, Optional Resources and similar attributes that are available only on the activity type of entities.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-22697\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/7How-to-Create-Activities-using-Power-Automate-Flows.png\" alt=\"How to Create Activities using Power Automate Flows\" width=\"652\" height=\"294\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/7How-to-Create-Activities-using-Power-Automate-Flows.png 628w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/7How-to-Create-Activities-using-Power-Automate-Flows-300x135.png 300w\" sizes=\"(max-width: 652px) 100vw, 652px\" \/><\/p>\n<p>To set the value, you need to provide the reference to the related lookup object.<\/p>\n<p>For User, it would be:<\/p>\n<p>\/systemusers(&lt;guid&gt;)<\/p>\n<p>For contacts, it would be:<\/p>\n<p>\/contacts(&lt;guid&gt;)<\/p>\n<p>In general, it would be:<\/p>\n<p>\/entityname(&lt;guid&gt;)<\/p>\n<p>Here is a complete screenshot of the entire flow for better context to the screenshot shared above:<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/8How-to-Create-Activities-using-Power-Automate-Flows.png\"><img decoding=\"async\" class=\"aligncenter wp-image-22696\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/8How-to-Create-Activities-using-Power-Automate-Flows.png\" alt=\"How to Create Activities using Power Automate Flows\" width=\"660\" height=\"691\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/8How-to-Create-Activities-using-Power-Automate-Flows.png 636w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/01\/8How-to-Create-Activities-using-Power-Automate-Flows-286x300.png 286w\" sizes=\"(max-width: 660px) 100vw, 660px\" \/><\/a><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>With flow now supporting activities, it opens up opportunities to create activities through Canvas Apps with the help of flows.<\/p>\n<h2 style=\"text-align: left;\"><div class=\"su-heading su-heading-style-default su-heading-align-center\" id=\"\" style=\"font-size:15px;margin-bottom:5px\"><div class=\"su-heading-inner\">Free 70% of storage space in CRM with Attachment Management Apps!<\/div><\/div><\/h2>\n<p><em><strong><a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/attach-2-dynamics-365-crm-upload-multiple-files-sharepoint-cloud-storage\" target=\"_blank\" rel=\"noopener noreferrer\">Attach2Dynamics<\/a> &#8211; Store and manage documents\/attachments in cloud storage of your choice &#8211; SharePoint, Dropbox or Azure Blob Storage from within Dynamics 365 CRM.<\/strong><\/em><br \/>\n<em><strong><a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/dynamics-365-crm-sharepoint-security-metadata-sync\" target=\"_blank\" rel=\"noopener noreferrer\">SharePoint Security Sync<\/a><\/strong> \u2013 Robust and secure solution to integrate Dynamics 365 CRM and SharePoint Security Sync thereby ensuring secure access to confidential documents stored in SharePoint.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Power Automate is the next big thing for Microsoft as it helps to perform automated actions and operations without requiring pro-dev capabilities. The power of the flow however, depends on how comprehensive the connectors are. Microsoft has been working to enhance its connectors for Dynamics 365 CRM. This journey started with the release of\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2020\/02\/creating-activities-using-power-automate-flows-now-possible\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":22728,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[36,1985],"tags":[2007,1975,2114],"class_list":["post-22695","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-flow","category-power-automate","tag-dynamics-365-power-automate","tag-power-automate","tag-top-2020"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/22695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=22695"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/22695\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/22728"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=22695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=22695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=22695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}