cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Flow error when attachments are not added

Hi all,

 

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. 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2.PNG
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:
 
3.PNG
 
 
 
Does anyone have an alternative for it? 
 
Thank you very much, it has been driving me crazy...
1 REPLY 1
New Member

The first screenshot has been removed of my message:

1.PNG

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (7,661)