I hope you can help me with this issue. I am trying to make a flow from data extracted of a form. This form has the option (not mandatory) to add attachments. the flow should trigger an email with the attachments in it.
For now, I made possible to get the attachments in outlook, but whenever the form is filled in without attachments, this fails.
When I try to add a condition before the Parse JSON depending on if there is attachments or not, I can't complete the path when there is attachments, because I can't make the step of "initialize variable" in the sub-path of "Yes". I get the following error:
Does anyone have an alternative for it?
Thank you very much, it has been driving me crazy...
Initialize a variable should out of a loop, condition branch.
You could initialize a variable after trigger, then create a condition to check if the submited form contains attachments, if contains, append the variable, and send Email with attachment variable. Or send Email without attachment variable.
Best Regards, Community Support Team _ Lin Tu If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.