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 Platform Community / Forums / Power Automate / When a file is created...
Power Automate
Unanswered

When a file is created or modified (properties only) - Runnig two times same file

(0) ShareShare
ReportReport
Posted on by 4

Hello,
I would like some help.

I don't know much about power automate, and based on videos on youtube I'm creating a flow that when an excel file is added to the folder, power automate will read the table with several lines and include it in the sharepoint list.



The problem is that for some reason the flow is being generated twice (for the same file)

For example: I upload 1 file, with two lines in the table, and the flow is generated twice or "Running" for the same file.

After two minutes the second flow starts.

I don't know why the system is understanding that I have uploaded a following file.

What do I need to do to avoid?

See screen shots

1

felipereis50_0-1670461005652.png

2

felipereis50_1-1670461056112.png



3

felipereis50_2-1670461085564.png



4)

felipereis50_3-1670461162479.png



5) Sharepoin list ( Two itens created base on table)  It's all right

felipereis50_4-1670461197980.png


6) 

felipereis50_5-1670461282322.png

 

 

7) 

felipereis50_6-1670461332688.png




My Flow

felipereis50_0-1670462066066.png

 

felipereis50_1-1670462075130.png

felipereis50_2-1670462093303.png


felipereis50_3-1670462109551.png

 

 

 

felipereis50_4-1670462118264.png



felipereis50_5-1670462133215.png



felipereis50_6-1670462145031.png

 


All my flow is returning this flow checker

felipereis50_0-1670462909882.png

 



Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @felipereis50 ,

     

    If you want to trigger a flow when a new file is created and need to update this file in next action, please use the trigger 'When a file is created'.

     

    I did a test:

    Use ‘When a file is created or modified’ and ‘Update file properties’.

    vxiaochenmsft_0-1670476616759.png

     

     

    The action of update the file triggers the flow again, so the flow runs twice.

    vxiaochenmsft_1-1670476616761.png

     

     

     

    Use ’When a file is created’.

    vxiaochenmsft_2-1670476616762.png

     

     

    The trigger is not fired again, and the flow only runs once.

     

    vxiaochenmsft_3-1670476616763.png

    Best Regards,

    Wearsky

  • felipereis50 Profile Picture
    4 on at

    Hi my friend.

    Oww...
    OK!!
    I will definitely try that.

    Thank you 
    Cheers

  • Suggested answer
    SA-11090704-0 Profile Picture
    2 on at
    I also faced the same problem. I was triggering a pipeline from the flow, but the pipeline was getting triggered twice. To resolve this issue, I used the Scope activity and placed the pipeline trigger inside it. This resolved the issue for me. Hopefully, it will work for you as well. 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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard