<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Teddy dong on Medium]]></title>
        <description><![CDATA[Stories by Teddy dong on Medium]]></description>
        <link>https://medium.com/@yuanyangdong66?source=rss-195fb56cb9e4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*4EHRfdJUUSTQojMqltbUJw.jpeg</url>
            <title>Stories by Teddy dong on Medium</title>
            <link>https://medium.com/@yuanyangdong66?source=rss-195fb56cb9e4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 20:28:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yuanyangdong66/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Dynamics 365 Sales: Enforcing BPF Completion Before Closing Opportunities as Won]]></title>
            <link>https://medium.com/@yuanyangdong66/dynamics-365-sales-enforcing-bpf-completion-before-closing-opportunities-as-won-071dce953710?source=rss-195fb56cb9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/071dce953710</guid>
            <category><![CDATA[business-process-flow]]></category>
            <category><![CDATA[validation]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <category><![CDATA[dynamics-365-crm]]></category>
            <dc:creator><![CDATA[Teddy dong]]></dc:creator>
            <pubDate>Fri, 16 Jan 2026 23:50:35 GMT</pubDate>
            <atom:updated>2026-01-16T23:50:35.899Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Business Requirement</h3><p>The requirement is straightforward:</p><blockquote><strong><em>A user should not be able to close an Opportunity as Won unless the associated Business Process Flow has been completed or finished.</em></strong></blockquote><p>If the BPF is not finished, the system should block the action and display a clear error message explaining what the user needs to do.</p><p>The solution uses:</p><ul><li>A custom field on the Opportunity</li><li>Two workflows</li><li>The BPF process status</li></ul><p>The key idea is to track BPF completion explicitly and then validate that condition when the Opportunity is marked as Won.</p><h3>Step 1: Create a “BPF Completed” Field</h3><p>First, create a custom field on the Opportunity entity:</p><ul><li><strong>Field name:</strong> BPF Completed</li><li><strong>Data type:</strong> Single Line of Text</li></ul><p>This field will act as a flag to indicate whether the Business Process Flow has been completed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*4OPg1aPEeR2Pm7eEfHWGBA.png" /></figure><h3>Step 2: Workflow to Mark BPF as Completed</h3><p>Next, create a workflow on the <strong>Opportunity Sales Process </strong>entity with the following logic:</p><p><strong>Condition</strong></p><ul><li>If Opportunity Sales Process — Status Reason equals to ‘Finished’,</li></ul><p><strong>Then</strong></p><ul><li>Update the related <strong>Opportunity</strong> record</li><li>Set <strong>BPF Completed = Yes</strong></li></ul><p><strong>Otherwise</strong></p><ul><li>Update the related <strong>Opportunity</strong> record</li><li>Set <strong>BPF Completed = No</strong></li></ul><p>This workflow ensures that once the BPF reaches its final stage and is marked as finished, the ‘BPF Completed’ field in Opportunity record is updated accordingly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h_dQ-mZcr6z_jluz_i0ljA.png" /></figure><h3>Step 3: Validation Workflow to Prevent Closing as Won</h3><p>The final step is to prevent users from closing an Opportunity as Won if the Business Process Flow has not been completed.</p><p><strong>Condition:</strong></p><ul><li>If Opportunity: Status Reason equals Won<br>AND<br>Opportunity: BPF Completed does not equal Yes</li></ul><p><strong>Actions:</strong></p><ul><li>Stop the workflow</li><li>Display an error message, for example:</li><li><em>“The Opportunity cannot be closed as Won unless the BPF is fully completed.”</em></li></ul><p>This workflow effectively blocks the status change and provides clear guidance to the user.</p><p>When a user tries to close the Opportunity as Won:</p><ol><li>The status change triggers the workflow</li><li>The workflow checks whether the BPF has been completed</li><li>If not, the workflow throws an error and cancels the operation</li><li>The Opportunity remains open</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mzb_nJx7jQqT8PgLFrhb5g.png" /></figure><h3>Step 4: Testing the Solution</h3><p>After configuring all workflows and validations, the final step is to test the behavior end to end.</p><h4>Test Case 1: BPF Not Completed</h4><ol><li>Open an Opportunity</li><li>Do <strong>not</strong> finish the Business Process Flow</li><li>Try to close the Opportunity as <strong>Won</strong></li></ol><p><strong>Expected Result</strong></p><ul><li>Opportunity is <strong>not</strong> closed</li><li>Error message is shown: <em>You must complete the BPF before closing this Opportunity as Won</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ScowmL-zqKuHSLRoknvBUA.png" /></figure><h3>Test Case 2: Happy Path</h3><ol><li>Finish the Business Process Flow</li><li>Close the Opportunity as <strong>Won</strong></li></ol><p><strong>Expected Result</strong></p><ul><li>Opportunity is successfully closed as <strong>Won</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*gtutGmadtfVLS7D3ieCqmA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3TpYR1OS4Ku9IaHASyjfLA.png" /></figure><p>I hope you find this blog helpful! If you have any questions or interesting use cases to share, feel free to leave a comment — I’d love to discuss and learn together!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=071dce953710" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Lock a Field in a BPF Stage in D365(Without JavaScript)]]></title>
            <link>https://medium.com/@yuanyangdong66/how-to-lock-a-field-in-a-bpf-stage-in-d365-without-javascript-56c812890a77?source=rss-195fb56cb9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/56c812890a77</guid>
            <category><![CDATA[model-driven-app]]></category>
            <category><![CDATA[crm]]></category>
            <category><![CDATA[business-process-flow]]></category>
            <category><![CDATA[d365]]></category>
            <category><![CDATA[d365-sales]]></category>
            <dc:creator><![CDATA[Teddy dong]]></dc:creator>
            <pubDate>Mon, 05 Jan 2026 22:20:34 GMT</pubDate>
            <atom:updated>2026-01-05T22:20:34.417Z</atom:updated>
            <content:encoded><![CDATA[<p>In Dynamics 365, setting a field to read-only on the form does not prevent users from editing it in a Business Process Flow (BPF). This often causes confusion, especially when the field’s value is system-controlled and should not be manually changed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*rv2zvDkB-lX_jVRCsOYblA.png" /></figure><h3>The scenario</h3><p>We wanted to lock the <strong>Probability</strong> field on Opportunities.</p><p>Why?</p><ul><li>Probability is <strong>automatically updated</strong> based on the BPF stage</li><li>Users should <strong>never manually edit</strong> Probability</li><li>Setting the field to <strong>read-only on the form does NOT work in a BPF</strong></li></ul><p>So the goal was simple:</p><p><em>✅ Users can </em><strong><em>see</em></strong><em> Probability <br>❌ Users cannot </em><strong><em>edit</em></strong><em> it<br>❌ Not on the form<br>❌ Not in the BPF</em></p><h3>Step 1: Enable column security on the field</h3><ul><li>Open the table (e.g. <strong>Opportunity</strong>)</li><li>Open the column (e.g. <strong>Probability</strong>)</li><li>Set <strong>Enable column security = Yes</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*67W6XuMz5vgjQNhGGRAOyA.png" /></figure><h3>Step 2: Create a Column Security Profile</h3><ul><li>Create a new C<strong>olumn Security Profiles</strong></li><li>Add a name</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*0zgVt80YDiXQHhYRYM6FEA.png" /></figure><h3>Step 3: Configure field permissions</h3><ul><li>Open the profile</li><li>Scroll to Field Permissions</li><li>Select <strong>CloseProbability</strong>(Logical Name)</li><li>Set permissions:<br><em>Read = Allowed<br>Create = Not Allowed<br>Update = Not Allowed</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FsQhnP8cMvmtELfsgHqHgw.png" /></figure><h3>Step 4: Assign users (or teams)</h3><ul><li>In the same profile, go to Users or Teams</li><li>Add the relevant users</li><li>Column security is not granted by security roles. Users must be explicitly added to the profile.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aVeQy3Y-Qe2sG70h-JMw2w.png" /></figure><h3>Step 5: Save, refresh, test</h3><ul><li>Save everything</li><li>Publish all customizations</li><li>Test as a non-admin user</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*BWvDZ98jpjUC1jvFQVuk-w.png" /></figure><h3>Final Thought</h3><ul><li>System Administrators and System Customizers bypass column security. Testing with these roles will not reflect the real user experience.</li><li>Always validate the behaviour using a standard user account.</li><li>Ensure the correct users or teams are explicitly assigned to the Column Security Profile; security roles alone do not grant column-level permissions.</li></ul><p>I hope you find this blog helpful! If you have any questions or interesting use cases to share, feel free to leave a comment — I’d love to discuss and learn together!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56c812890a77" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Use OOTB Duplicate Detection in Model-Driven Apps]]></title>
            <link>https://medium.com/@yuanyangdong66/how-to-use-ootb-duplicate-detection-in-model-driven-apps-f1a91885dd71?source=rss-195fb56cb9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1a91885dd71</guid>
            <category><![CDATA[model-driven-app]]></category>
            <category><![CDATA[powerplatform]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <dc:creator><![CDATA[Teddy dong]]></dc:creator>
            <pubDate>Thu, 11 Sep 2025 23:56:06 GMT</pubDate>
            <atom:updated>2025-09-11T23:56:06.698Z</atom:updated>
            <content:encoded><![CDATA[<p>When building a model-driven app, one important consideration is how to prevent users from creating duplicate records. Thankfully, Dynamics 365 and the Power Platform provide out-of-the-box duplicate detection rules that can help us manage this. Let’s get into this.</p><h3>Step 1: Open Advanced Settings</h3><ul><li>From the form, click on the gear icon and select ‘<strong>Advanced Settings</strong>’.</li><li>Click ‘Data Management’ in left-hand menu.</li><li>Click ‘Duplicate Detection Rules’.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T1VFn6--Gp8oXVVpcwxIqw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l5k9oGEp8IpwewonCdxn2Q.png" /></figure><h3>Step two: Choose the Target Table and Create the Rule</h3><ul><li>Give this Duplicate Detection Rule a name — ‘Book ISBN with the same ISBN’.</li><li>Define the criteria: in this case, if two records have the same ISBN in ‘Book’ table, the system should treat them as duplicates.</li><li>Save it first and then publish it.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9owQyb0wJSFCv2qtyOxUsg.png" /></figure><h3>Step 3: Run and Test the Rule</h3><ul><li>For testing, let’s use an existing record called “The Best Show” with the ISBN 7848754.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*wJy9p1Hk4KcsyWygTWWw0Q.png" /></figure><ul><li>Now, add a new record with a different name but the same ISBN.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0hIPw6Wfmr5VFtkcCg57lw.png" /></figure><ul><li>When you try to save it, a pop-up window will appear to notify the user that a duplicate record already exists in the system.</li></ul><p>I hope this guide helps you set up duplicate detection in your model-driven app. Let me know if you have any questions or feedback — I’d be happy to hear from you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1a91885dd71" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Step-by-Step Tutorial: Connecting XrmToolBox to Dynamics 365 Environment]]></title>
            <link>https://medium.com/@yuanyangdong66/step-by-step-tutorial-connecting-xrmtoolbox-to-dynamics-365-environment-0d7e538d3b0c?source=rss-195fb56cb9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/0d7e538d3b0c</guid>
            <category><![CDATA[xrmtoolbox]]></category>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[crm]]></category>
            <category><![CDATA[powerplatform]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <dc:creator><![CDATA[Teddy dong]]></dc:creator>
            <pubDate>Fri, 29 Aug 2025 01:45:40 GMT</pubDate>
            <atom:updated>2025-08-29T01:45:40.135Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*LpXo6zgGC3bwvb4ZsThrBg.png" /></figure><p>Over time, I’ve explored a few different ways to connect XrmToolBox to Dynamics 365, and I’ve found that both methods can be set up with ease once you know the steps. Since XrmToolBox is an essential tool for developers and admins, connecting it properly is the first step to getting the most out of it.</p><ol><li><strong>Using the Connection Wizard</strong></li><li><strong>Using Client ID and Secret</strong></li></ol><p>In this post, I’ll briefly explain both methods with screenshots for reference.</p><h3>Method 1: Connection Wizard</h3><p><strong>Step 1:</strong> Get the environment URL from <a href="https://make.powerapps.com/">make.powerapps.com</a>. Click the gear icon on the right bar, then select <strong>Session details</strong> to copy the instance URL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KNP5czGSlpxq5eMIsRzByw.png" /></figure><p><strong>Step 2</strong>: Paste the instance URL into the Environment URL field in XrmToolBox and click <strong>Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*cNXVMG3R3l9vDiuCEysz2Q.png" /></figure><p><strong>Step 3:</strong> Enter your username and password. Once authenticated, you’ll be connected to the environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*0qZMmC_uoPD_zXtiDDrPcg.png" /></figure><h3>Method 2: Client Id/Secret</h3><p>To securely access Microsoft resources, an app needs an identity in Azure AD, represented by a client ID (like a username) and a client secret (like a password).<br>Microsoft sometimes provides pre-registered apps in your tenant, which you can use without creating a new one. For example, “Contact Center Trial Copilot (Microsoft Copilot Studio)” is automatically available in my tenant.</p><p><strong>Step 1</strong>: Login to <a href="https://portal.azure.com/">Microsoft Azure</a> and navigate to App registrations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*U8mzqukU7VWS_KZprUeJsg.png" /></figure><p><strong>Step 2:</strong> Select your app, copy the Application (client) ID from the Overview page, and go to Client credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*JThKUam50xukyVo3Pm9L7A.png" /></figure><p><strong>Step 3:</strong> Create a new client secret and note its value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*74nSz9GMnGZvcEskXzYPLg.png" /></figure><p><strong>Step 4: </strong>Use the Client ID and Client Secret to establish the connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*nzL27bd41jUClKxOOccg0w.png" /></figure><p>That’s it!<br>Let me know if you have additional questions or concerns!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0d7e538d3b0c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Most Commonly Used Expressions in Power Automate]]></title>
            <link>https://medium.com/@yuanyangdong66/most-common-used-expressions-in-power-automate-56c0c252f5b7?source=rss-195fb56cb9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/56c0c252f5b7</guid>
            <category><![CDATA[power-platform-developers]]></category>
            <category><![CDATA[power-automate]]></category>
            <category><![CDATA[power-fx]]></category>
            <category><![CDATA[microsoft-power-platform]]></category>
            <dc:creator><![CDATA[Teddy dong]]></dc:creator>
            <pubDate>Fri, 22 Aug 2025 03:26:01 GMT</pubDate>
            <atom:updated>2025-08-22T03:26:43.604Z</atom:updated>
            <content:encoded><![CDATA[<p>When building flows in Power Automate, expressions play a key role in manipulating data, controlling logic, and transforming outputs. Over the course of my projects, I’ve found myself using a core set of expressions again and again. This cheat sheet brings them together in one place — explaining what they do, their syntax, and the best scenarios for using them.</p><h3>1.if</h3><p><strong>Purpose</strong>: Conditional check.<br><strong>Syntax</strong>: if(condition, trueResult, falseResult)</p><p><strong>Example</strong>:</p><pre>if(length(&#39;abc&#39;) &gt; 2, &#39;Valid&#39;, &#39;Invalid&#39;)</pre><p>Returns Valid.<br><strong>Use case</strong>: Apply logic to return different outputs based on conditions.</p><h3>2. item()</h3><p><strong>Purpose</strong>: Returns the current item in a loop.<br><strong>Example</strong>: item()?[&#39;Name&#39;] inside an <strong>Apply to each</strong> loop retrieves the Name field of the current record.<br><strong>Use case</strong>: Iterate through arrays or lists.</p><h3>3. body()</h3><p><strong>Purpose</strong>: Gets the body output of a previous step.<br><strong>Example</strong>: body(&#39;Get_items&#39;)?[&#39;value&#39;] returns the values from a SharePoint “Get items” action.<br><strong>Use case</strong>: Parse API results or outputs from earlier actions.</p><h3>4. true / false</h3><p><strong>Purpose</strong>: Boolean values.<br><strong>Example</strong>:</p><pre>if(contains(&#39;Power Automate&#39;,&#39;Power&#39;), true, false)</pre><p>Returns true.<br><strong>Use case</strong>: Used in logical comparisons or as switches.</p><h3>5. guid()</h3><p><strong>Purpose</strong>: Generates a unique identifier (UUID).<br><strong>Example</strong>: guid() → 3f2504e0-4f89-11d3-9a0c-0305e82c3301<br><strong>Use case</strong>: Create unique IDs when inserting records in Dataverse or SharePoint.</p><h3>6. join()</h3><p><strong>Purpose</strong>: Concatenates array elements into a single string.<br><strong>Syntax</strong>: join(array, delimiter)<br><strong>Example</strong>:<br>join([&#39;A&#39;,&#39;B&#39;,&#39;C&#39;], &#39;,&#39;) → &quot;A,B,C&quot;<br><strong>Use case</strong>: Combine tags, IDs, or list items into one string.</p><h3>7. first() / last()</h3><p><strong>Purpose</strong>: Returns the first or last element in an array.<br><strong>Examples</strong>:</p><ul><li>first([&#39;A&#39;,&#39;B&#39;,&#39;C&#39;]) → A</li><li>last([&#39;A&#39;,&#39;B&#39;,&#39;C&#39;]) → C</li></ul><p><strong>Use case</strong>: Extract values without looping.</p><h3>8. string()</h3><p><strong>Purpose</strong>: Converts a value to a string.<br><strong>Example</strong>:<br>string(123) → &quot;123&quot;<br><strong>Use case</strong>: Avoid type mismatch errors when concatenating or storing values.</p><h3>9. length()</h3><p><strong>Purpose</strong>: Returns the length of a string or array.<br><strong>Examples</strong>:</p><ul><li>length(&#39;Power&#39;) → 5</li><li>length([&#39;A&#39;,&#39;B&#39;,&#39;C&#39;]) → 3</li></ul><p><strong>Use case</strong>: Validate input length or determine array size.</p><h3>10. contains()</h3><p><strong>Purpose</strong>: Checks if a collection or string contains a value.<br><strong>Syntax</strong>: contains(collection, value)<br><strong>Example</strong>:<br>contains(&#39;Power Automate&#39;,&#39;Power&#39;) → true<br><strong>Use case</strong>: Search for keywords or check array content.</p><h3>11. split()</h3><p><strong>Purpose</strong>: Splits a string into an array.<br><strong>Syntax</strong>: split(text, delimiter)<br><strong>Example</strong>:<br>split(&#39;A,B,C&#39;, &#39;,&#39;) → [&#39;A&#39;,&#39;B&#39;,&#39;C&#39;]<br><strong>Use case</strong>: Handle CSV data or break down strings.</p><h3>12. addProperty()</h3><p><strong>Purpose</strong>: Adds a new property to an object.<br><strong>Syntax</strong>: addProperty(object, propertyName, propertyValue)<br><strong>Example</strong>:</p><pre>addProperty({Name:&#39;Tom&#39;}, &#39;Age&#39;, 30)</pre><p>- { &quot;Name&quot;: &quot;Tom&quot;, &quot;Age&quot;: 30 }<br> <strong>Use case</strong>: Enrich JSON objects before passing data forward.</p><h3>13. variables()</h3><p><strong>Purpose</strong>: Retrieves the value of a variable in your flow.<br><strong>Syntax</strong>:variables(&#39;VariableName&#39;)<br><strong>Example</strong>:<br> If you created a variable called counter, you can reference it with: variables(&#39;counter&#39;)</p><p><strong>Use Case</strong>: Use inside conditions, loops, or expressions to read the current value of a variable and perform calculations or logic.</p><h3>14. empty()</h3><p><strong>Purpose</strong>: Checks whether a string, array, or object is empty.<br><strong>Syntax</strong>:empty(value)<br><strong>Example</strong>:</p><pre>empty(&#39;&#39;)        // true  <br>empty([])        // true  <br>empty(&#39;Hello&#39;)   // false</pre><p><strong>Use Case</strong>: Prevent flow errors by validating inputs (e.g., if a SharePoint field is blank or an array has no items). Often used inside if conditions.</p><h3>14. equals()</h3><p><strong>Purpose</strong>: Compares two values for equality. Returns true or false.<br><strong>Syntax</strong>:equals(value1, value2)<br><strong>Example</strong>:</p><pre>equals(5, 5)        // true  <br>equals(&#39;A&#39;, &#39;B&#39;)    // false</pre><p><strong>Use Case</strong>: Commonly used in <strong>Condition controls</strong> or inside an if() to compare numbers, text, or even entire objects.</p><h3>14. trim(text)</h3><p><strong>Purpose</strong>: Removes all leading and trailing spaces from a string.<br><strong>Syntax</strong>: trim(text)<br><strong>Example</strong>:</p><pre>trim(&#39;   Power Automate   &#39;)<br>// Returns: &#39;Power Automate&#39;</pre><p><strong>Use Case</strong>: Clean up user inputs, form responses, or data from external systems before storing or comparing.</p><h3>That’s it!</h3><p>I’d love to hear your thoughts — feedback, questions, or suggestions are always welcome.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56c0c252f5b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Customizing Auto Numbering for Dataverse Records Using Power Automate]]></title>
            <link>https://medium.com/@yuanyangdong66/customizing-auto-numbering-for-dataverse-records-using-power-automate-bc73db7fd4e4?source=rss-195fb56cb9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc73db7fd4e4</guid>
            <category><![CDATA[powerapps]]></category>
            <category><![CDATA[crm]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <category><![CDATA[power-automate]]></category>
            <dc:creator><![CDATA[Teddy dong]]></dc:creator>
            <pubDate>Sun, 17 Aug 2025 05:27:03 GMT</pubDate>
            <atom:updated>2025-08-17T05:27:03.695Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>In many business systems, cases (or tickets) need to be numbered according to specific rules. For example, each customer account might have its own sequence starting from a base number like <strong>1000</strong>. This ensures clarity, easy tracking, and avoids duplicate numbering.</p><p>In this post, I’ll walk you through how to use <strong>Power Automate</strong> with <strong>Dataverse</strong> to automatically generate case numbers per account or department, starting at 1000 for the first case and incrementing by one for subsequent cases.</p><h3>Business Requirement</h3><p>In our organization, each Case record needs a <strong>unique and sequential Case Number</strong> that follows a specific format based on the related Account.</p><p><em>The required format is: </em><strong><em>CAS-[AccountName]-####</em></strong></p><ul><li><strong>CAS</strong> → A static prefix to indicate the entity type (Case).</li><li><strong>[AccountName]</strong> → The name of the related account (e.g., Alpha, Beta, Delta).</li><li><strong>####</strong> → A running sequence number that starts from 1000 for each account and increments by 1 for every new case.</li></ul><p>For example:</p><ul><li>The first case for <strong>Account Beta</strong> should be numbered CAS-Beta-1000.</li><li>The next case for <strong>Account Beta</strong> should be CAS-Beta-1001.</li><li>Similarly, if the first case for <strong>Account Alpha</strong> is created, it will start as CAS-Alpha-1000, and so on.</li></ul><h3>Step 1: Trigger when a new case is created</h3><p>Use the <strong>When a row is added, modified or deleted</strong> Dataverse trigger:</p><ul><li><strong>Change type:</strong> Added</li><li><strong>Table name:</strong> Cases</li><li><strong>Scope:</strong> Organization</li></ul><p>This ensures the flow runs whenever a new case is created in the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*1R-aArwNccs0BV6qh4zRJQ.png" /></figure><h3>Step 2:Get the newly created case</h3><p>Add a <strong>Get a row by ID</strong> action</p><ul><li><strong>Table name:</strong> Cases</li><li><strong>Row ID:</strong> Select the Case ID from the trigger.</li></ul><p>This step retrieves details of the case, especially the linked <strong>Account</strong> (lookup field), so we can search for other cases belonging to the same account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*8akddundzXDQifQPbfdVZQ.png" /></figure><h3>Step 3: List the account’s existing cases</h3><p><strong>Filter rows</strong></p><pre>_accountid_value eq @{outputs(&#39;Get_a_row_by_ID&#39;)?[&#39;body/_accountid_value&#39;]} and mnp_caseno ne null</pre><ul><li>_accountid_value = the ‘Account’ lookup on Case.</li><li>The dynamic value ensures we only return cases for the same ‘Account’ as the current case.</li><li>mnp_caseno ne null filters out cases without a number yet. In other words, any records that don’t yet have a case number assigned will be ignored.</li></ul><p><strong>Sort by</strong> mnp_caseno desc → puts the highest case number on top.</p><p><strong>Row count = 1</strong> → only take the most recent case.</p><p>In short, this step ensures we always retrieve the <strong>most recent case number for the account</strong>, which becomes the base for generating the next auto number.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*sBUHDxMMvaHTzYaSvO5_RA.png" /></figure><h3>Step 4: Check if Previous Cases Exist</h3><p>Insert a <strong>Condition</strong> control with the following expression:</p><pre>empty(body(&#39;List_rows&#39;)?[&#39;value&#39;])</pre><p>If <strong>true</strong> → This is the first case for the account.</p><p>If <strong>false</strong> → We already have cases and must increment the last number.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*lShLR3hQTxAALkLf7nIJ4A.png" /></figure><h3>Step 5: Handle First Case Scenario (If Yes)</h3><p>If no previous cases exist, we assign the starting number.<br>Use <strong>Update a row</strong> to set the ‘Case Number’:</p><p><strong><em>CAS-[AccountID]-1000</em></strong></p><pre>outputs(&#39;Get_a_row_by_ID&#39;)?[&#39;body/_accountid_value@OData.Community.Display.V1.FormattedValue&#39;]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*qkF-pku66uosAkY5064_lg.png" /></figure><h3>Step 6: Handle Existing Cases (If No)</h3><p>If cases already exist, we take the last used number and increment it.</p><p>Add a <strong>Compose</strong> action with the following expression:</p><pre>add(<br>  int(<br>    substring(<br>      first(body(&#39;List_rows&#39;)?[&#39;value&#39;])?[&#39;caseno&#39;],<br>      sub(length(first(body(&#39;List_rows&#39;)?[&#39;value&#39;])?[&#39;caseno&#39;]), 4),<br>      4<br>    )<br>  ),<br>  1<br>)</pre><p><strong>Step by step</strong>:</p><ol><li><strong>first(body(&#39;List_rows&#39;)?[&#39;value&#39;])?[&#39;caseno&#39;]</strong> → gets the most recent case number (from our sorted query).</li><li><strong>substring(..., sub(length(...), 4), 4)</strong> → extracts the last 4 characters, the numeric suffix.</li><li><strong>int(...)</strong> → converts those 4 characters from text to a number.</li><li><strong>add(..., 1)</strong> → increments that number by 1.</li></ol><p>Now that we’ve extracted and incremented the last four digits, we can update the case with a new auto number.</p><p>We simply combine:</p><p><strong><em>CAS-{AccountName}-{Output}</em></strong></p><p>For example:</p><ul><li>If the Account = <strong>Beta</strong></li><li>Last case = CAS-Beta-1013</li><li>New case = CAS-Beta-1014</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*x608MOIJ79cnI_Yv8YTjiw.png" /></figure><h3>Step 7: Test the flow</h3><p>To validate the logic, I conducted two tests:</p><p><strong>Existing Account (Gamma)</strong></p><ul><li>First case already had number: CAS-Gamma-1000.</li><li>After creating a new case with <strong>Account = Gamma</strong>, the flow generated:<br> CAS-Gamma-1001.</li><li>✅ This confirms the increment works correctly when previous records exist</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zv_GVusZIZkPw6eRTh7Kkw.png" /><figcaption>Case No CAS-Gamma-1000</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uYYuv9aCd1cNhQRalft5kQ.png" /><figcaption>Auto-number increments for existing account (Gamma)</figcaption></figure><p><strong>New Account (Alpha)</strong></p><ul><li>No cases existed for <strong>Account = Alpha</strong>.</li><li>After creating the first case, the flow generated:<br> CAS-Alpha-1000.</li><li>✅ This confirms the numbering starts at 1000 for new accounts</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7MyfN9OAqUtWLas2CXatkw.png" /><figcaption>New case related to Alpha before the record gets saved</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kr36CJt0ftZ79Cy2yTX9qg.png" /><figcaption>Auto-number starts at 1000 for new account (Alpha)</figcaption></figure><h3>That’s it!</h3><p>I’d love to hear your thoughts — feedback, questions, or suggestions are always welcome. Feel free to drop a comment and let me know how you might extend this solution in your own scenarios.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc73db7fd4e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to apply multiple conditions in an ‘If’ statement in Power Automate Desktop Flow?]]></title>
            <link>https://medium.com/@yuanyangdong66/how-to-apply-multiple-conditions-in-an-if-statement-in-power-automate-desktop-flow-9471105e457d?source=rss-195fb56cb9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/9471105e457d</guid>
            <category><![CDATA[power-automate-desktop]]></category>
            <category><![CDATA[rpa-tools]]></category>
            <category><![CDATA[power-automate-flow]]></category>
            <category><![CDATA[power-automate]]></category>
            <category><![CDATA[power-platform-developers]]></category>
            <dc:creator><![CDATA[Teddy dong]]></dc:creator>
            <pubDate>Sun, 23 Feb 2025 20:50:05 GMT</pubDate>
            <atom:updated>2025-02-23T20:50:05.330Z</atom:updated>
            <content:encoded><![CDATA[<p>When working with <strong>Power Automate Desktop</strong>, you often need to make decisions based on multiple conditions. The <strong>If</strong> block allows you to evaluate expressions and execute specific actions based on the results. In this guide, we will explore different ways to write multiple conditions inside an <strong>If</strong> block in PAD.</p><h3>Available Operators in If Block</h3><p>Power Automate Desktop provides the following comparison operators:</p><ul><li><strong>Equal to (=)</strong></li><li><strong>Not equal to (&lt;&gt; or !=)</strong></li><li><strong>Greater than (&gt;)</strong></li><li><strong>Greater than or equal to (&gt;=)</strong></li><li><strong>Less than (&lt;)</strong></li><li><strong>Less than or equal to (&lt;=)</strong></li><li><strong>Contains/Does not contain</strong></li><li><strong>Is empty / Is not empty</strong></li><li><strong>Starts with / Does not start with</strong></li><li><strong>Ends with / Does not end with</strong></li><li><strong>Is blank / Is not blank</strong></li></ul><h3>Complex Condition with Multiple Variables</h3><p>It is easy to set up a simple If condition, such as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*Ax4ZkDk1nKJL2pxhMbeIFg.png" /></figure><p>However, what if we need a <strong>complex condition with multiple variables</strong>? For example:</p><p><strong>IF</strong></p><ul><li>LoopProcess is <strong>less than 3</strong>,</li><li>IntTimeout is <strong>less than</strong> IntDefaultTimeout,</li><li>IntCategory <strong>does not equal</strong> &quot;High&quot;,</li><li>ProcessError <strong>equals 0,</strong></li><li>OnError is <strong>empty</strong>.</li></ul><p><strong>THEN </strong><br> Display message ‘<em>Processing Continues’</em></p><p><strong>Else </strong><br> Display message ‘<em>Condition not Met</em>’</p><h3>Step-by-step breakdown:</h3><p><strong>1. Condition Structure:</strong></p><ul><li><em>%LoopProcess &lt; 3 </em><strong><em>AND</em></strong><em> NOT (Contains(IntCategory, ‘High’)) </em><strong><em>AND</em></strong><em> IntTimeOut &lt; IntDefaultTimeout </em><strong><em>AND</em></strong><em> ProcessError = 0 </em><strong><em>AND</em></strong><em> IsEmpty(OnError)%</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*j7sKJ1W3d6VKqQejW1NUTw.png" /></figure><p><strong>2. Takeaway</strong></p><ul><li>The entire condition is checked as one expression. Make sure no more than TWO % symbols are used in the expression (starting and ending with %).</li><li>The second operand should always be %True%.</li><li>As &#39;High&#39; is a hardcoded value, it should be enclosed in single quotes (&#39;). If using a variable in the expression, quotes are not needed.</li><li>If the condition statement requires an ‘OR’ logicla operator instead of ‘AND’, simply replace AND with OR in the expression.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_xQkqAxm0ptma1xp_FHigQ.png" /></figure><h3>Conclusion</h3><p>Using multiple conditions inside an If block in Power Automate Desktop allows you to create more dynamic automation workflows. I hope you find this blog helpful! If you have any questions or interesting use cases to share, feel free to leave a comment — I’d love to discuss and learn together!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9471105e457d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Insert Windows Environment Variables into Power Automate Desktop Flow]]></title>
            <link>https://medium.com/@yuanyangdong66/how-to-insert-windows-environment-variables-into-power-automate-desktop-flow-31c26e598b72?source=rss-195fb56cb9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/31c26e598b72</guid>
            <category><![CDATA[rpa-developer]]></category>
            <category><![CDATA[rpa-tools]]></category>
            <category><![CDATA[power-automate-desktop]]></category>
            <category><![CDATA[environment-variables]]></category>
            <category><![CDATA[power-apps-developer]]></category>
            <dc:creator><![CDATA[Teddy dong]]></dc:creator>
            <pubDate>Sun, 16 Feb 2025 03:52:12 GMT</pubDate>
            <atom:updated>2025-02-16T03:52:12.283Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever needed your Power Automate Desktop flow to dynamically adapt to different environments without hardcoding values? Imagine running your automation on different machines without manually updating paths, credentials, or configurations. This is where Windows environment variables come in handy — they provide a simple way to store reusable values that your flows can easily.</p><h4>User vs. System Environment Variables</h4><ul><li><strong>User Variables</strong>: Available only for the logged-in user. Useful for personal file paths (e.g., <em>UserProfile</em>) or app-specific settings. If a different user logs in, they will see a different set of environment variables.</li><li><strong>System Variables</strong>: Available to all users on the machine. Used for system-wide settings like installed program directories (e.g., <em>ProgramFile</em>) or shared API keys — best for global settings.</li></ul><h3>Methods 1 : Using PAD to Add Environment Variables</h3><ul><li>Use ‘Set Windows Environment variable to set windows environment variables</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NUHEA1dwm4geOTceWvBxtA.png" /></figure><ul><li>Set windows environment var depends on the type</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*ygHEfAW31OPDeNy_YASmyQ.png" /></figure><ul><li>Save the action and add a new step ‘Get Windows environment variable’ to test.</li></ul><h3>Methods 2: Setting a Variable in Windows System Settings</h3><ul><li>Open search, type ‘Edit Environment Variables for your account,’ and select the corresponding option.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*CGdNCO0Uf-f1UJBY-kjwoQ.png" /></figure><ul><li>Add a new <strong>User</strong> or <strong>System</strong> variable with the required value.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*jJXL6636GPwA7kzu5cM-rw.png" /></figure><ul><li>Even without setting new environment variables within PAD, you can retrieve existing ones using the ‘Get Environment Variable’ action.’</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t1wVMBaN2elCnCl1DG9fMw.png" /></figure><p>I hope this guide helps you manage your Power Automate Desktop flows with environment variables! If you have any questions or cool use cases to share, drop a comment — I’d love to discuss and learn together. Let’s make automation smarter!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31c26e598b72" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Easily Declare and Manage Environment Variables and Global Variables in Power Automate…]]></title>
            <link>https://medium.com/@yuanyangdong66/how-to-easily-declare-and-manage-environment-variables-and-global-variables-in-power-automate-6bfa989acd98?source=rss-195fb56cb9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/6bfa989acd98</guid>
            <category><![CDATA[variables]]></category>
            <category><![CDATA[power-automate-desktop]]></category>
            <category><![CDATA[power-platform-developers]]></category>
            <category><![CDATA[rpa-solutions]]></category>
            <dc:creator><![CDATA[Teddy dong]]></dc:creator>
            <pubDate>Sat, 25 Jan 2025 23:02:25 GMT</pubDate>
            <atom:updated>2025-01-25T23:02:25.944Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Easily Declare and Manage Environment Variables and Global Variables in Power Automate Desktop Flow Using a JSON Format File</h3><p>Managing environment variables and global variables efficiently is a cornerstone of creating robust automation solutions in Power Automate Desktop (PAD). Using a JSON format file for this purpose simplifies the process and ensures consistency across flows. Here’s a step-by-step guide to help you achieve this:</p><p>Before we start, we need to understand the difference between global and environment variables.</p><p><strong>1. Environment Variables</strong>:</p><ul><li>Environment variables are configuration settings specific to a particular environment (e.g., <em>Development, Testing, Production</em>).</li><li>These variables often include paths, API endpoints, or database connection strings that may differ between environments but follow the same structure.</li></ul><p><strong>2. Global Variables:</strong></p><ul><li>Global variables are values or settings that remain consistent across all environments.</li><li>These typically include constants like retry counts, date formats, or logging configurations that do not change regardless of the environment in which the flow runs.</li></ul><p>The key difference is that environment variables adapt to the environment, while global variables provide universal, unchanging values for the entire automation solution.</p><h3>Step 1: Create a JSON Format File</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*dxg88exZlWuo1dRW8RDaXQ.png" /></figure><p><strong><em>Important Note</em></strong><em>: If the environment variable is a directory path, ensure it uses double backslashes (</em><em>\\) instead of a single backslash (</em><em>\). This prevents errors when parsing or using the path in PAD.</em></p><ol><li>Create a text file using the provided JSON example, then rename the file to have a .json extension to ensure proper formatting.</li><li>Save the file with a descriptive name, such as PAD_Variables.json, and store it in a shared location accessible to your Power Automate Desktop (PAD) flow.</li><li>Ensure the PAD flow has the necessary permissions to read the file and use its contents.</li></ol><h3>Step 2 Import the JSON File in PAD</h3><ol><li><strong>Set the JSON File Path</strong>:</li></ol><ul><li>Use the <strong>Set Variable</strong> action to define the path to your JSON file.</li><li>Output: Store the variable (ConfigFile).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mqWlYslFAKUda2f4QlIoaA.png" /></figure><p>2. <strong>Read the JSON File</strong>:</p><ul><li>Use the <strong>Read Text from File</strong> action to read the contents of the JSON file.</li><li>Input: The variable containing the file path (ConfigFile).</li><li>Output: Store the raw text content of the JSON file in a variable (e.g., JSON_Config).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*qPxhdAGP6LeEYN_m5z4QSw.png" /></figure><p>3. <strong>Convert JSON to a Custom Object</strong>:</p><ul><li>Use the <strong>Convert JSON to Custom Object</strong> action to parse the JSON text into a structured object.</li><li>Input: The variable containing the JSON string (JSON_Config).</li><li>Output: Store the parsed JSON object in a new variable (e.g., JSONConfigObject).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*GI4emhIPCNL-3bBzTODrog.png" /></figure><p>4. <strong>Set the Global Configuration</strong>:</p><ul><li>Use the <strong>Set Variable</strong> action to extract the GLOBAL section of the JSON object.</li><li>Input: Access the GLOBAL property using dot notation (e.g., JSONConfigObject[&#39;GLOBAL&#39;]).</li><li>Output: Assign it to a variable (e.g., Config_Object).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lgnwDxBSzRc2VuN7H1siWA.png" /></figure><p>5. <strong>Set the Environment-Specific Configuration</strong>:</p><ul><li>Use another <strong>Set Variable</strong> action to extract the environment-specific section of the JSON object.</li><li>Input: Access the environment-specific property using dot notation (e.g., JSONConfigObject[&#39;ENV&#39;][Environment]).</li><li>Output: Assign it to a variable (e.g., ENVJSONConfigObject).</li><li>Note: For JSONConfigObject[&#39;ENV&#39;][Environment], the Environment value should be dynamically sourced from Windows environment variables. The Environment variable will be initialized based on the values from the Windows system. In the upcoming blog, I&#39;ll explain how to declare Windows environment variables for PAD use. For demonstration purposes, we&#39;ll set the Environment variable as an input parameter so it can be defined before the execution.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lgnwDxBSzRc2VuN7H1siWA.png" /></figure><h3>Step 3: Access Variables in Your Flow</h3><ol><li><strong>Retrieve Environemnt Variables</strong></li></ol><ul><li>Access global variables similarly:</li><li>Example: Set ENVJSONConfigObject[&#39;data&#39;] to data.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O-TIeuUi_eGEcqdSoj28Bw.png" /></figure><p>2. Retrieve Global Variables</p><ul><li>Access environment variables:</li><li>Example: Set ConfigObject[&#39;RetryCount&#39;] to RetryCount .</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NF7VYkg3X2tiFQxSFCYehw.png" /></figure><h3>Takeaway:</h3><ul><li><strong>Centralized Variable Management:</strong> Using a JSON file to manage global and environment-specific variables in Power Automate Desktop enhances scalability, reduces redundancy, and simplifies flow maintenance.</li><li><strong>Alignment of Variables:</strong> Ensure that variable names in the configuration file align perfectly with those in the subflows that set and use environment variables. Misalignment can cause runtime errors or unexpected behavior.</li><li><strong>Data Accuracy:</strong> Validate that the data in the configuration file is in the correct format. Errors in formatting (e.g., missing keys or incorrect structures) can lead to parsing issues during execution.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6bfa989acd98" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Does It Take to Be a Dynamics 365 or Power Platform Consultant?]]></title>
            <link>https://medium.com/@yuanyangdong66/what-does-it-take-to-be-a-dynamics-365-or-power-platform-consultant-90e59b3970e5?source=rss-195fb56cb9e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/90e59b3970e5</guid>
            <category><![CDATA[functional-consultant]]></category>
            <category><![CDATA[power-apps-developer]]></category>
            <category><![CDATA[power-platform-developers]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <dc:creator><![CDATA[Teddy dong]]></dc:creator>
            <pubDate>Sun, 20 Oct 2024 05:46:03 GMT</pubDate>
            <atom:updated>2024-10-20T05:46:03.647Z</atom:updated>
            <content:encoded><![CDATA[<p>The role of a Dynamics 365 consultant requires a blend of business analysis skills, technical expertise, and a problem-solving mindset. As a consultant, you don’t just capture business requirements; you transform them into practical solutions that align with an organization’s strategic objectives. This role often overlaps with other functions, such as business analysis and development, demanding the ability to adapt and take on different responsibilities to ensure project success.</p><p>In the following sections, I’ll share some insights and takeaways from my own experiences that highlight the essential skills and tasks of a Dynamics 365 consultant.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*faRUw9VV6QYp29Wn.jpg" /></figure><h4>Bridge the Gap</h4><ul><li>As a Dynamics 365 consultant, I often find myself working at the intersection of business analysis and software development. The role involves capturing and translating business requirements into technical solutions, ensuring alignment with stakeholders’ expectations. Based on my experience, here are some key points to consider:</li><li>Make sure to gather detailed information about the client’s overall solution needs, including big-picture requirements and specific functional requirements. This clarity is essential for developing effective solutions.</li><li>Leverage visual aids, like process maps and diagrams, to represent the requirements. These tools help simplify complex concepts and facilitate better communication among team members. Because people loves visual aids.</li><li>Create opportunities for iterative feedback. Encourage stakeholders to review and provide input on the requirements, ensuring everyone stays aligned as the project progresses.</li></ul><h4>Lead the Meetings and Workshops</h4><ul><li>Consultants need to take charge of meetings and workshops to gather requirements, present solutions, or conduct training sessions. It’s important to be proactive in these settings, not just facilitating conversations but guiding them toward productive outcomes.</li><li>Being well-prepared<em> </em>is crucial when leading meetings and workshops. Always know the goal of the meeting and what you want to achieve. For example, is the goal to confirm the project scope, validate requirements, or agree on milestone dates? Setting clear objectives helps keep the meeting focused and productive.</li><li>During the meeting, it’s important to actively engage with participants. Take moments to pause and invite feedback or raise any concerns. This approach not only helps uncover any hidden requirements but also shows the client that their input is valued and that you are there to support them. It signals that you’re committed to collaborative problem-solving and that their voice matters in shaping the project’s direction.</li></ul><h4>Master Communication Skills</h4><ul><li>Effective communication goes beyond just delivering information; it’s about convincing and guiding clients towards best practices and making informed decisions. As a consultant, it’s essential to use clear language to explain complex ideas, breaking them down into simpler terms that business users can easily understand. This ensures alignment and makes sure all parties know what to expect.</li><li>Making sure everyone understands what you’re saying, no matter their background or expertise. This means breaking down complex ideas into simple, easy-to-digest pieces and using everyday language instead of confusing jargon. This way, business users can easily follow along.</li><li>Communication also involves a level of persuasion. Clients and stakeholders rely on your expertise for guidance on the best approaches and industry standards. This means you need to be confident in your recommendations and back them up with deep knowledge of Dynamics 365 and the Power Platform. To maintain credibility, continuously updating your skills and keeping up with new releases and features is key.</li></ul><h4>Embrace Lifelong Learning and Stay Current</h4><ul><li>A Dynamics 365 consultant needs to continuously adapt to the evolving technical landscape. Staying updated with new releases and features in Dynamics 365 and the Power Platform is essential for delivering effective solutions. Engaging with the Power Platform community, following new updates, and learning independently ensures you can quickly recommend solutions and adapt strategies to meet evolving business needs.</li><li>Organizing knowledge is crucial for a consultant. Tools like OneNote can be helpful for documenting each project’s details, such as key tools, techniques, or lessons learned. Keeping a structured knowledge base allows for easy referencing, making it simpler to recall past solutions and share valuable insights.</li></ul><h4>Act and Behave Like a Consultant</h4><ul><li>Beyond technical skills, adopting a consultant mindset is crucial. This includes addressing issues with a problem-solving approach, understanding the broader business context, and providing value beyond just implementing features.</li><li>Being a consultant also involves understanding project timelines, budgeting, and resource management to deliver solutions that not only work technically but also meet business goals.</li><li>Last but not least, dressing like a consultant can make a significant impression. Your appearance can convey professionalism and confidence, which helps build trust with clients.</li></ul><h4>Summary</h4><ul><li>These insights and takeaways are based on my personal experiences as a Dynamics 365 consultant. They reflect the skills and lessons that have helped me navigate the role, from bridging the gap between business and technology to mastering communication, leading productive meetings, and embracing lifelong learning. Each of these aspects has played a crucial part in shaping how I deliver value and achieve successful project outcomes.</li><li>I hope sharing these key takeaways provides helpful guidance for those aiming to grow in this field, equipping you with practical strategies to thrive as a consultant.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90e59b3970e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>