Notifications
Announcements
Hello,
My PowerApps is passing the 5 string parameters to PAutomate flow. There are 4 mandatory parameters and one optional parameter ("Crit2"), that is sometimes null - originaly empty in the datasource list. The App fails if this parametr is empty. As a workaround, I have set a null value on "-" , but would need a better solution.Is there a clean way to manage this?Thanks in advance
Hi @blabla70 ,
Is it the App or the Flow that's failing when then the parameter is blank?
If it's tha flow probably you have a better chance of getting a solution by posting it in the Power Automate Community: https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity
The app is failing, so I think I am in the right community here 🙂
Hi @blabla70 ,The flow/app shouldn't fail if we pass blank value to the flow (If you will not pass any parameter, the app will fail as flow expects one parameter at that time). Please refer below screenshot:
The flow will fail if you are using this blank value in get item action but this can be handled with if condition inside the flow.
How to condition it inside flow, can pls you elaborate?
Hi @blabla70 ,You can use length function inside expression to check if length is 0 or not. If it is 0 that means it is blank.
at this point the app crashed already
Hi @blabla70 ,Try using Coalesce function for the parameter which will be blank in some cases (make sure to add space between double quotes) - TestBlank.Run(Coalesce(TextInput3.Text," "))
Can you please share the formula you are using to run the flow?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268