Posts

How to write Unit Test Case for your Plugins using C#.

Image
Hello Guys, In our previous  blog   we have seen one of the important feature of Power Automate Flow which is Geofencing. Today we will see how we can write and test unit test case for plugin. Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends. As being a CRM developer we have written so many plugins related to our project. There are some situation where we need to test whether our plugin is executing and running properly. Sometimes we need to write unit test cases for our plugin where we are providing inputs to plugin to check whether our plugin is satisfying all the conditions and functionality is achieved or not.  So let's see how we can write test cases for plugin.  For time being I have created one plugin named CustomerNumbering which is used for creating customer's unique number based on BU whenever a new customer record is created by user. So now we will be writing Unit Test cas

Using Geofencing in Power Automate Flow.

Image
  Hello Guys, In our previous  blog   we have seen one of the important feature of Power Automate Flow which is Concurrency Control. Today we are going to explore Geofencing in Power Automate Flow. Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends. First of all let's understand what is Geofencing?.  Microsoft Power Automate provides a feature which is Geofencing which can be used to define an area or a fence around a location. The feature allows users to create a location range that triggers a flow when a mobile device enters or leaves the location range. This enables certain flows to automatically run. We can understand Geofencing by the example of Roaming SMS notification which we have received many times whenever we are entering or leaving a particular cellular network.   Microsoft Power Automate Flow provides the Geofence trigger which allows user to trigger the flows from the geoloca

Using Concurrency Control & Degree of Parallelism in Power Automate Flow.

Image
  Hello Guys, In our previous  blog   we have seen how easily we can store these 5000 records in Array. Today we are going to learn one of the important feature of Power Automate Flow which is Concurrency Control. Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends. First of all we will create one manual flow which will retrieve Account records. For time being I have already created the flow which is as shown below. Here we are retrieving top 100 rows. Now we will iterate this flow and try to update one field of account. Now we will run the flow and check the output. As you can see flow has run successfully. Also if you expand the Apply to each step you will see that here apply to each loop is running in sequential manner which means one after another. we can control this sequential manner by enabling concurrent control for the step. By enabling this feature we can run the inside step of Apply

Using Array variable to store more than 5000 CRM records.

Image
Hello Guys, In our previous  blog   we have seen how we can retrieve more than 5000 records using Power Automate Flow. Today we are going to see how easily we can store these 5000 records in Array. Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends. We will be working on same power automate flow which we demonstrated in previous blog. Now we will be declaring three Array variables as shown below: Expand Do until loop and below Accounts step. Add a new select step as shown below: Now we will set the output of Select step in Array1. In the next step we will set Array3 variable as shown below: union(variables('Array1'),variables('Array2')) Now after Set Page Cookie Trim step add new step. In this step we will set Array1=Array2 and in the next step we will set Array2=Array3. So now our flow is ready. Now we will run the flow. As you can see flow ran successfully. Now we will add on

Retrieving more than 5000 records using Power Automate Flow.

Image
Hello Guys, In our previous  blog   we have seen how we can create word document and attach it to CRM entity record as notes and use the same documents which is stored in CRM record as notes and will attach it to email. Today we are going to see how we can retrieve more than 5000 records using Power Automate Flow. Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends. In our one of the blog we have seen how we can retrieve more than 5000 records using code(C#). Here we have used the concept of pagination. Same concept we are going to use with power automate flow. First of all we will create one manual trigger flow and try to retrieve records using List Rows.  As you can see in above flow, we are retrieving Account entity. Here we can retrieve max 5000 records per request.  Consider a scenario where we need to retrieve more than 5000 records then we can not do the same using this step. There shou