
Hello. Has anyone dealt with this issue?
I have a flow that triggers from add an item to Sharepoint list using power app and send an email with attachments. It fails at the Condition Step:
Here is the result details of the Condition:
I always attach files with the power apps form and that field is required both in power apps and sharepoint list.
Can anyone help me figure this out please?
TYIA
The problem is that you are trying to send the email as though the list item always has an attachment. If the list doesn't have an attachment it fails because you are trying to send a null attachment. You need to check whether it has an attachment or not and if not then don't put anything in the attachment section of the send an email.