Click on New Flow and select instant cloud flow and provide the trigger as Manually trigger a flow and click on Create as shown in the below figure.
Name the flow as TakeFunction and take a parallel branch and one side of branch take an Initialize variable and provide values.
To The other side of parallel branch take another initialize variable and provide values.
Take a Compose action individually and provide the inputs with Take function which Returns the elements in the array/string .
The Expression for the input is shown in below
take(variables(‘Bank’),2)
Here Bank is Name of the Array and 2 is No of Arrays.
In the Same Way we can do it for another Initializer by taking Compose Action.
The Expression for the input is shown in below
take(variables(‘Name’),7)
Here Name is Name of String and 7 is Length of String.
Save and Test the Flow and observe the results as shown in the below figure.
In this way, we can use Take function in Power Automate to achieve customer functionality.
For any Help or Queries Contact us on info@crmonce.com or +918096556344