Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

incremental number flow work randomly

(0) ShareShare
ReportReport
Posted on by 44

Hello,
I have a problem with a flow that works randomly. most of the time it does not cause any worries, and once in a while it crashes. the principle is an incremental numbering of word files in a sharepoint library.

when we add a file to the library, the flow obtains a value from a sharepoint list and applies it to a field in
this library. This field appears in the word file.

Sometimes at this stage it indicates me a "status: 400” and informs that the file has been modified by the person who deposited it in the library ...

I can't understand where the problem may come from. the action is always the same and the file is always from the
same template. I suspect a problem of timing... If someone has an idea.

The flow is :

When a file is create (doc file) > get items (unique number) > update file properties (with the unique number) > update item (increment number)

 

Thanks a lot

 

Stephane

  • yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on at
    Re: incremental number flow work randomly

    Hi @StephaneVedren 

     

    One of the reasons could be that the person who is creating the work doc in the library is still working on it or has left the tab open. In this case the flow is bound to fail. You might want to add a 10 minute delay or so before the update properties action. Can you check and confirm on this one? 

     

    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!

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow