cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Flow running more than once when receiving multiple documents

Hi all,

 

I have currently developed a flow that is made to compare two pdf documents that arrive in the same email, and then log in an excel sheet that the fields match with one another. 

 

When I tested the flow with just sending an email with one attachment it runs perfectly fine, but when I attach a second, different document to the email, the flow keeps running and opens numerous excel sheets. I believe it is because I have the run desktop flow action nested within the apply for each action (applying for each attachment), is there a way to run it without running it for each attached document?

 

As well, the models are extracting the right information and assigning it to the right variables, but for some reason are not filling out the excel sheet with a checkmark (ex. Consignee_Number will pull SAME from the document but for some reason the flow is not identifying it as a match). 

 

I've attached some screenshots to aid with your troubleshooting. Any help is appreciated! 

 

Thanks!

 

The flow and the error I am getting:

JGotta_0-1637617666664.png

JGotta_4-1637617921786.png

JGotta_1-1637617742646.png

 

 

Start of my desktop flow and the section that is not working.

 

JGotta_2-1637617849446.png

JGotta_3-1637617887444.png

 

 

 

1 REPLY 1
Anonymous
Not applicable

Bump! Any help is appreciated 🙂

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (5,552)