{"id":33295,"date":"2020-07-25T14:05:32","date_gmt":"2020-07-25T08:35:32","guid":{"rendered":"https:\/\/techmasala.addastudents.com\/dev\/?p=33295"},"modified":"2021-06-04T13:16:08","modified_gmt":"2021-06-04T07:46:08","slug":"approval-process-in-mscrm","status":"publish","type":"post","link":"https:\/\/techmasala.addastudents.com\/dev\/approval-process-in-mscrm\/","title":{"rendered":"How to send approval email in MS CRM using MS Flow"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong><u>Requirement:<\/u> <\/strong>When a case is created a e-mail will be send to the customer and as per the subject of the case an approval is request to the Approver and task is assigned .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><u>Process Flow :<\/u><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"492\" src=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/Process-Flow-1024x492.png\" alt=\"\" class=\"wp-image-33297\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The flow will run as the record will be created, a mail will be sent to the customer to notify that we are working on the issue and will get back to the customer and parallelly another branch will be executed that we internally send this particular case for the approval process and parallelly we assigned task.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><u>Flow Creation Steps:<\/u><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1: Create Work flow and scheduled at case creation<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Go to website: <a href=\"https:\/\/flow.microsoft.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/flow.microsoft.com\/<\/a><\/li><li>Login with your account and get started.<\/li><li>First click the My Flows(highlighted) and click New and select <em>\u201cAutomated -from blank\u201d<\/em><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"764\" height=\"281\" src=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step1.png\" alt=\"\" class=\"wp-image-33298\" srcset=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step1.png 764w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step1-300x110.png 300w\" sizes=\"auto, (max-width: 764px) 100vw, 764px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>After clicking this you will have to schedule when you work flow will be executed, as we have to execute the process as the case is created, so we will select <em>\u201cWhen a record is created\u201d<\/em><\/li><li>First specify you flow Name<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"726\" height=\"271\" src=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/Step1.1.png\" alt=\"\" class=\"wp-image-33299\" srcset=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/Step1.1.png 726w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/Step1.1-300x112.png 300w\" sizes=\"auto, (max-width: 726px) 100vw, 726px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>After this trigger you work flow at <em>\u201cwhen a record is created\u201d.<\/em><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"717\" height=\"259\" src=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/Step1.2.png\" alt=\"\" class=\"wp-image-33300\" srcset=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/Step1.2.png 717w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/Step1.2-300x108.png 300w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>After this you need to select you environment in which you want to run you flow.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"649\" height=\"194\" src=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/Step1.3.png\" alt=\"\" class=\"wp-image-33301\" srcset=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/Step1.3.png 649w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/Step1.3-300x90.png 300w\" sizes=\"auto, (max-width: 649px) 100vw, 649px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Then you need to select Entity name on which record creation you need your flow to be executed.<\/li><li>After that you need to choose flow of scope i.e. at what level you want your flow to be executed. There are to three types of scopes specified in Flow Microsoft.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Steps 2: Add a parallel branch<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Add a parallel branch, at one end send email to the customer and on the other end send approval and task.<br><img loading=\"lazy\" decoding=\"async\" width=\"601\" height=\"292\" src=\"\"><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"498\" src=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step2-2-1024x498.png\" alt=\"\" class=\"wp-image-33312\" srcset=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step2-2-1024x498.png 1024w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step2-2-300x146.png 300w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step2-2-768x374.png 768w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step2-2.png 1143w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Steps 3: Send Email to the customer<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>For sending email to the customer first we need to find the customer so for that we are creating a list record, in this there will be linked contact<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"598\" height=\"322\" src=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step3.png\" alt=\"\" class=\"wp-image-33303\" srcset=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step3.png 598w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step3-300x162.png 300w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>As we have selected our environment and specified the customer entity. The entity case contains the GUID of the customer entity. So for this we have specified this in the filter query. \u201ceq\u201d denotes the equal, so the above means contactid &nbsp;equal to the customer.<\/li><li>So using this we will get a list which contains the related customer.<\/li><li>Select a email template as shown below.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"599\" height=\"279\" src=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step3.1.png\" alt=\"\" class=\"wp-image-33305\" srcset=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step3.1.png 599w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step3.1-300x140.png 300w\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>In \u201cTo\u201d specify the customer email and in subject select the subject and in email body you can write what you want to send it your customer.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Steps 4: Send Approval email to the approval<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>As in this scenario we are specifying approver on the basis of subject so we need to select the related subject for this case<\/li><li>So for this we have created a list record to find the subject<\/li><li>As in the below screen shot we have selected subject.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"599\" height=\"355\" src=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step4.png\" alt=\"\" class=\"wp-image-33306\" srcset=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step4.png 599w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step4-300x178.png 300w\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Select an approval template<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"603\" height=\"344\" src=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step4.1.png\" alt=\"\" class=\"wp-image-33307\" srcset=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step4.1.png 603w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step4.1-300x171.png 300w\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>As per your scenario you can select Approval type and choose Title.<\/li><li>In Assigned to you can specify email id of the approver and details you can specify the details you want to send to the approval.<\/li><li>If you want to perform any action after the user approve or disapprove the case, you can add condition as shown in the below image.<br><img loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"214\" src=\"\"><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"365\" src=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step4.2-1024x365.png\" alt=\"\" class=\"wp-image-33308\" srcset=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step4.2-1024x365.png 1024w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step4.2-300x107.png 300w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step4.2-768x274.png 768w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step4.2-1170x417.png 1170w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step4.2.png 1221w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Steps 5: Create Task and assigned tasks<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>For this we will create a record in task then we will assigned task and send email.<\/li><li>Below is the image for creation of record in task entity<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"604\" height=\"466\" src=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step5.png\" alt=\"\" class=\"wp-image-33309\" srcset=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step5.png 604w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step5-300x231.png 300w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Next we will send an email to whom the task assigned<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"596\" height=\"266\" src=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step5.1.png\" alt=\"\" class=\"wp-image-33310\" srcset=\"https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step5.1.png 596w, https:\/\/techmasala.addastudents.com\/dev\/wp-content\/uploads\/2020\/07\/step5.1-300x134.png 300w\" sizes=\"auto, (max-width: 596px) 100vw, 596px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The above is the whole process of case and approval and working. If you have and doubts or queries you can contact us.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Requirement: When a case is created a e-mail will be send to the customer and as per the subject of the case an approval is request to the Approver and task is assigned . Process Flow : The flow will run as the record will be created, a mail will be sent to the customer [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":33297,"comment_status":"open","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70,759],"tags":[275,297,287,304,300,279,292,282,294,298,295,289,301,286,276,293,280,302,281,285,277,278,291,290,288,296,303,284,283,299],"class_list":["post-33295","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learn-technology-free","category-learn-microsoft-power-automate","tag-approval-process-based-on-roles-salesforce","tag-approval-process-change-set","tag-approval-process-criteria-in-salesforce","tag-approval-process-data-model","tag-approval-process-database-design","tag-approval-process-definition","tag-approval-process-diagram","tag-approval-process-email","tag-approval-process-email-alert-not-working","tag-approval-process-email-notification-salesforce","tag-approval-process-entry-criteria-salesforce","tag-approval-process-error-message","tag-approval-process-flow","tag-approval-process-for-custom-object-salesforce","tag-approval-process-for-knowledge-article","tag-approval-process-for-real-estate-projects","tag-approval-process-german","tag-approval-process-go-through","tag-approval-process-handbook-2017-18","tag-approval-process-history-salesforce","tag-approval-process-in-salesforce","tag-approval-process-in-sap-b1","tag-approval-process-in-zoho-crm","tag-approval-process-object-in-salesforce","tag-approval-process-template","tag-create-an-approval-process-salesforce","tag-d-pharma-approval-process","tag-e-rickshaw-icat-approval-process","tag-simplified-approval-process-gcf","tag-spandana-e-pass-approval-process"],"_links":{"self":[{"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/posts\/33295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/comments?post=33295"}],"version-history":[{"count":5,"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/posts\/33295\/revisions"}],"predecessor-version":[{"id":33315,"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/posts\/33295\/revisions\/33315"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/media\/33297"}],"wp:attachment":[{"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/media?parent=33295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/categories?post=33295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/tags?post=33295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}