we must occasionally check the length of a string or the elements of an array in order to conduct certain operations on them. To rapidly determine whether the provided string or Array contains values or not, utilize Power Automate Length function.

Create a new instant cloud flow and take manually trigger a flow

Next Add Initialize Variable and fill properties like showing in the below image

Next, Add a parallel branch by clicking “+”.

Next add another initialize variable in the parallel branch and fill the properties like showing in the below image.

Next, select the compose step under “initialize variable Array” and enter the length function that returns returns the quantity of components contained in a string or array using the length function.

length(variables(‘Persons’))

Next, under initialize variable 2 take the compose action and give the inputs like below image.

length(variables(‘Person’))

As shown in the below figure, save and test the flow to see the results.

For any Help or Queries Contact us info@crmonce.com or +918096556344