Hi Hope someone can help nd point out where I am making a mistake.
I have a flow in a canvas app wrapped in an IfError function and inide that a Set functionto store the error as a variable.
When the flow responds with an error, only the final step in the [IF] condition (highlighted in screenshot) is executed. The first step which I understand should be executed when an error is detected is skipped or doesn't stop the processing. Hope someone can help.
The code basically sets context variables to true to show status panels in the app. The Upload success panel gets shown despite an error being generated.

Visible property of UploadError container:

Visible property of UploadSuccess container:

I tried using an [And] operator as I thought i might be using too many steps but that shows the error panel when there is no error generated.
