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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Generating dates betwe...
Power Automate
Answered

Generating dates between start date and end date as new items in list

(1) ShareShare
ReportReport
Posted on by 26

Hi, I tried copying this flow since it does exactly what I need it to do: Solved: Create row for each day between start and end date... - Power Platform Community (microsoft.com)

However, my flow won't stop triggering itself and I can't figure out why. Could someone take a look and diagnose?

jakefromstfarm_0-1711042345575.png

 

Categories:
  • Verified answer
    trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at

    Hi @jakefromstfarm ,

     

    I would need to look at this more in detail but on the surface, the root cause is your trigger is doing exactly what you are asking it to do, "when an item is created"... run this flow.  So in your flow you are creating an item and that triggers the again by design.

     

    trice602_0-1711044046727.png

     

    Here's a potential quick fix (albeit, maybe there are better options):

     

    Add a column FC "flow created" and assign the value of 1 when you create the items in your flow.

     

    Next in your trigger settings, add a trigger condition that says, if FC not equal to 1

     

    not(equals(triggerBody()?['FC'], 1))

     

    Then the flow will fire, else do nothing.  That should stop the flow from running constantly because now when you create your item (above step set variable), you are adding the FC = 1.

     

    Let me know if that helps you get up and running!

     

     

  • jakefromstfarm Profile Picture
    26 on at

    @trice602 Hey, thanks for replying. I tried this out last night and you were spot on with why it kept repeating. However, I made the FC column and tried setting this trigger condition, but for some reason, it is still repeating and triggering itself. I created a test item with FC = 1 and it still triggered itself when it shouldn't have run at all. For reference, I've attached some photos of the updated flow. Thanks again

    jakefromstfarm_0-1711111620041.png

    jakefromstfarm_2-1711111699110.png

     

     

  • jakefromstfarm Profile Picture
    26 on at

    @trice602 
    In the screenshot, it says triggerOutputs, but for the test yesterday, I used your snippet that says triggerBody- sorry for the mixup

  • jakefromstfarm Profile Picture
    26 on at

    Okay, I am very sorry. I think I figured it out... I put single quotes around the 1.
    @not(equals(triggerBody()?['FC'], '1'))
    ^^ like this... thank you very much, this solves my problem.

  • trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at

    Hi @jakefromstfarm ,

     

    Great to hear you got it resolved!  Please mark as a solution to help others find the answer too!

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard