In Power Platform, at times we must compare values to identify whether the given number is less or not. In Power Automate, Less Function can be used quickly to find out whether the given integer/float is less or not by comparing with a number.
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 Less and take an initialize variable and name it as Initialize variable – Age Entry to enter into Park – 10 and provide values.
Take Compose Action and name it as Compose – Check if the Age is less than 15 and provide Less Function which expects couple of arguments and Returns true if the first argument is less than the second and Provide Inputs as
less(variables(‘Age’),15)
Take another Compose Action and name it as Compose 2- Check if the Age is less than 29 and provide the following inputs in the Expression.
less(variables(‘Age’),29)
Take Another Compose Action and Named it as Compose 3 -Check If the Age is Less than -8 and Provide the following inputs in the Expression.
less(variables(‘Age’),8)
Save and Test the flow and observe the results as shown in the below figure.
In this way, we can use Less Function in Power Automate to achieve customer functionality to easily verify whether the given number is less or not.
For any Help or Queries Contact us on info@crmonce.com or +918096556344