THROW EXCEPTION INTENTIONALLY in Power Automate Flow ( to test your flow)

preview_player
Показать описание
In Today's episode, we'll look into throwing exceptions easily and intentionally to test our flow, test IF negative condition or to test "try-catch" mechanism failed path. Its not that easy to be able to save the flow with 100% error inside, but there is a clever way day to do it in one action.

In my recent tutorials, I'm concentrating heavily on Powerapps, model-driven apps, Dataverse, and Power Platform as a whole, When I encounter an interesting defect I try to immediately post it on YouTube to make other people's lives easier. Sometimes I'll also touch Power Automate but mostly when it supports Canvas.

THROW EXCEPTION INTENTIONALLY in Power Automate Flow ( to test your flow)
Рекомендации по теме
Комментарии
Автор

Was excited to try this but I'm getting an error where it says "Enter a valid boolean" and it will not let me save. Just thought you should know. Thanks

cztop
Автор

Worked perfectly, and you are completely right, it isn't as easy as you could think to make a flow fail for testing; I couldn't find anything like this anywhere else, thanks!!!

Mchavez
Автор

using div(1, 0) in a compose is better and can be used in Scope actions

fde-cz
join shbcf.ru