I have this code to call a flow inside an AddPicture control On change property:-
IfError(
PopulateWorkOrderPictures.Run("Before",varWorkOrder.'Work Order Type'.Value,TextInputPicNoteBefore.Text,varWorkOrder.ID,LookUp('Posting UnPosting Processes Posting UnPosting Forms','Posting UnPosting Form ID'= varWorkOrder.RelatedProcessID).'Posting UnPosting ID',
{file:
{
contentBytes: UploadedImage1.Image,
name: AddMediaButton1.FileName
}}),
Notify("Error",NotificationType.Error,10000),
Notify("Success",NotificationType.Success));
but i am always getting Success notification on power apps, even when the flow fails, here a failed flow which i called from power apps:-

but i got Success notification on power apps when i called this flow which failed.. any advice how i can capture failed flows inside power apps, so i can show a relevant notification accordingly ?
Thanks