web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

temporary name appear

(0) ShareShare
ReportReport
Posted on by 25

Hi,

 

I have created a flow that start when a document is put into a specific folder.

 

Usually the flow work perfectly, however from time to time it failed as it seems that the file name is not the same.

 

ie. file name is : TEST.pdf

in the error message, the file name is TEST.pdf.zwmarkn.

 

Seems to be that the flow start with the temporary name before the real name.

 

I have try to put a delay after the first action but the use remain the same.

 

Do you have the same situation? How can this be fixed?

 

Thank you so much for your help.

Categories:
I have the same question (0)
  • PieterVeenstra Profile Picture
    13 on at

    Can you give a bit more details on how you upload your files?

     

    Drag 'n drop?

    Upload?

     

    Also what is the size of the PDFs? Do only the larger files fail?

  • darana Profile Picture
    25 on at

    Thanks Pieter,

     

    What we usually do is a save as in this specific folder directly.

     

    Files are not bigIssues comes on all Files are not big, between 10kb and 100kb only.

     

     

  • v-yuazh-msft Profile Picture
    on at

    Hi @ darana,

     

    Could you please share a screenshot of your flow’s configuration?

    Could you share more about the run details of your flow?

     

    I have made a test on my side and don’t have the issue that you mentioned.

    The screenshot of my flow as below:

    The flow would run successfully as below:

    1.png

    Please share more details to me so I could try to help you.

    2.png

     

    Please share more details to me so I could try to help you.

     

    Regards,
    Alice Zhang

  • darana Profile Picture
    25 on at

    Thanks for your help.

     

    Here is the beginning of my flow :

     

    Flow 1.pngFlow 2.PNG

     

     

     

    The error message I am getting is the following one : error message 1.png

     

     

    And that's the breakfdown of my flow failure :

     

    error flow 1.pngerror flow 2.png

  • darana Profile Picture
    25 on at

    Hi,

     

    Do you have any suggestion? Is my flow incorrectly created?

     

    Thank you in advance for your help.


    Nicolas

  • darana Profile Picture
    25 on at

    So my issue persist and I think I have founded where the problem is coming from but no idea on how I can solve this. If anyone have a suggestion (except changing the way to save the file) this will be highly appreciate.

     

    What I have found is the following:


    When we are saving the file, it is saving the file first as "Partial Download" before the final file. See print-screen below:

    Capture.JPG

     

    Any idea on how to start the flow only when the final document is created?

     

    Thanks for your help.

     

    Nicolas

     

  • PieterVeenstra Profile Picture
    on at

    You could probably add a consdition in your Flow that checks the type of the file and if it is set to partial download then  exit out of your flow.

  • darana Profile Picture
    25 on at

    But if I do this, do you think the flow will start again when the file as been renamed to the final name?

     

     

    Any idea how to configure flow to check type of file?

  • PieterVeenstra Profile Picture
    on at

    Hi @darana,

     

    Within the trigger you should get Dynamics content returned that includs the file type. I would initially add a variable that is set to the trigger data. That way you can fairly quickly identify the data that you need within the Flow run history.

     

    You could even try and read data for the file that you expect to exist if this errors then the file isn't complete yet.

     

    I would expect the flow to retrigger on completion.

  • darana Profile Picture
    25 on at

    Thank so much for all your help Pieter.

     

    I am a bit novice to flow, do you mind sharing an exemple on how I can add the variable to trigger the data and identify the data I need?

     

    I have founded a workaround for the time being as we are only using pdf file by adding a condition that if the file name with extenstion finish by pdf, it will do the necessary action and if no it will do nothing.

     

    However we might use this tools for others format, like xls, pdf, xlsx, ... and if there is any other possibility than to create the same condition for all format time, this would be lovely.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard