cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
heinrichbenade
Advocate I
Advocate I

Configure run after not working anymore

Good day,

 

I have a fairly large flow with multiple conditions.  I used the 'Get file metadata using path' Action to check if a certain Word document exists.  If the Document exists, the Flow will copy all Metadata to the PDF File with the same name - This is working.  When a PDF File is uploaded, the same process is followed.  The Flow will try and query the Word Document by name and fail - With the 'Configure run after' Action set to Succeeded and Failed the flow succeeded and sent an email notifying the user that there is no Word Document/Properties to update the PDF with.

 

This used to work properly but all of the sudden I get the error message that The file ..../sites/test/Test 1.docx does not exist.  I know it does not exist, hence why I set the following actions to run if the previous step was successful or not.

FlowError.PNG

 

Any help would be appreciated.

 

 

Regards,

3 REPLIES 3
RezaDorrani
Dual Super User II
Dual Super User II

Hi @heinrichbenade 

 

The flow is failing in Condition - Check PDF Site URL and doc type properties

What is the subsequent action after that and is it handling failed errors?

 

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Thank you @RezaDorrani,

 

The issue was with the Send Mail Action.  When inserting a HTML hyperlink, it changes some of the tags:

html.PNG

 

When editing the email body later again, the hyperlink appears like the below:

HTML Tag error.PNG

 

After removing the HTML hyperlink from the Body of the email, the Flow finished without any errors.

 

The thing that caught my attention was that the error message Flow displayed was that the file does not exist.  But the actual error occured within the send mail action.

 

Thanks for the reply.

 

 

Kind Regards, 

Hi @heinrichbenade 

 

Glad to know it worked out 

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,289)