I am trying to send an email with the inputted information from the rest of the app; I want the functionality of adding a picture from the camera and sending it as an attachment if the user desires to add a picture.
I have implemented this with a condition in my flow (see Flow.png). I have added the appropriate fields necessary in my powerapp (see PowerAppFlowRun.png). It works when there is a picture taken in the app. However, when a user does not take a picture to add as an attachment, I get the following error:
"The method 'Run' has an invalid value for parameter 'Compose_Inputs' "
For context, my picture goes through Compose so that it can be converted to binary, and ultimately show up in the email. This step occurs only if the flow condition evaluates to true.
I have a boolean value set in my app to indicate whether a picture was taken or not (HasAttachment), and this is what is used as the conditional test in the flow. I was under the impression that the app would only need/use 'Compose_Inputs' if there was a picture, and would ignore otherwise.
Please let me know if there is something that I need to change in either my flow or my app!
Thanks in advance.