cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bwalters613
Helper II
Helper II

Flow says successful, but nothing happening.

Shown flow says it is successful on testing, and every morning.  However, the files from Outlook attachments are never updated to Dropbox.  Both accounts are correct, I can log in as each.  I know in the past I've had issues with my same email address on our Office 365 versus Azure Active Directory and mail/access getting interchanged. I don't know if that is related or not here. But the flow looks good, but doesn't work.

 

Flow.PNG

 

26 REPLIES 26

Hey @Bwalters613 

 

In the update file, it should be attachment content for the content part. You can check the screenshot below : (also, get rid of the get attachment action)

ddfr.PNG

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Get rid of the attachment action? Sorry, not sure what you mean there.

 

Hey @Bwalters613 

 

If you compare your flow with the screenshot that I posted, You can see a Get attcahment action in the apply to each loop of your flow. You can remove that one as we are already iterating over the attachments. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Results are the same.  Flow tests succesfully, no files change in Dropbox.

Flow.PNG

Hey @Bwalters613 

 

Can you share a screenshot of the flow run history?

Failed ones this morning are me trying to modify it, or remove and re-add my Outlook acount.

 

Flow.PNG

 

 

Hi @Bwalters613 ,

 

Please click on the first record in Flow runs, we need to see the details of the Flow run history.

If the result of Condition is false, indicate that the folder specified by Dropbox does not contain the file with the same name as the attachment name.

 

Besides, It seems that although you specify the Folder as the root directory, it may not be able to get the files in the subfolders. Please check if this is the case.

If this is the case, you will need to reset the folder to the specific path where the folder is located.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hey @Bwalters613 

 

Can you share screenshots of successful run and the unsuccessful run? Can you confirm that all the emails have attachments in these runs? If not we might have to add a condition to check if the email has attachments and only then move forward with the flow. 

 

Also, I checked that in the earlier screenshot you have an email addrsss in the to field of the trigger. Can you remove that? The flow will run when the email is however received in the mailbox of the connection provided. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Removed email address in the To field, same results. Flow says it runs successfully but no files in Dropbox change. I will post screenshots tomorrow when I am back on a pc.

I think I see why it failed, but don't know how to fix it:

 

Capture.PNG

 

Hi @Bwalters613 ,

 

It seems that the conditions you set in the Condition are not met, so the action in the If yes branch is not executed.

 

You can add a Compose action on top of the Condition to output the two parameters you configured in the Condition, and then see if the values of the two parameters are equal.

93.PNG

The configuration of your Flow seems to be no problem, just not meeting the expected conditions.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The two parameters should not be equal (one is yes, one is no), so  I am not sure what a Compose step will do to help.  I'm just trying to get it to look at my Inbox for three specific emails each morning, and take the attachments and put them in Dropbox.  I  must be missing something in here to make that happen.  I've made the flow as suggested - but it still doesn't work.  What am I missing?  Do I need a separate flow for each email/attachment and get more specific?  I wouldn't think so - I would think it can look and just update/copy/overwrite the file in Dropbox that it finds in the email attachment.

 

Interestingly enough...if I use the exact same actions under 'If No' as is under 'If Yes', the flow runs, creates an error on the 'If No' action - but proceeds to update Dropbox. However, of the three emails in my Inbox, it takes the attachment of the latest message and updates all three Dropbox files with that attachment.  So now I have all three files updated in Dropbox (FileA, FileB and FileC) with the FileA attachment data.  but at least it is processing it somehow.

Sorry @v-bacao-msft - I forgot to mention you to get the message to you.

 

Hi @Bwalters613 ,

 

The purpose of adding Compose is to check whether the two parameters you configured in the Condition are equal. If they are all not equal, indicates that the attachment does not have the file with name same as the file in Dropbox.

So the result of the execution is false.

 

Hope it makes sense.

 

It can't really solve your problem by moving the action in If yes to If no. Please follow the method I provided and do another test and observe the running result.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

How do I add the Compose?  I can't put it in the middle, and when I try to delete everything below it and put Compose in, then add the rest, it gives me a flow error. I am sorry I am not an expert in this, but it seems to be much harder than originally described.  I followed the original suggestion on how to build it to the letter without results.

 

But help me add this in to show what you need to see so we can determine the next steps.

 

@v-bacao-msft 

 

Capture.PNG

 

 

 

File in Dropbox did not change.

Here is the flow test.

Capture.PNG

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!

Users online (3,554)