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 / I created a flow where...
Power Automate
Answered

I created a flow where it sends automated notifications to users every 3rd friday of the month.

(0) ShareShare
ReportReport
Posted on by 66

I Created a flow to send notofications to users every 3rd friday of the month, but my floe going to infinite loop and i have no idea how to fix it.

Below is my flow. Appreciate any suggestions.

HarikaVL_0-1697450337836.png

HarikaVL_1-1697450363312.png

HarikaVL_2-1697450458451.png

HarikaVL_3-1697450539545.png

 

Categories:
  • GdarmonAbra Profile Picture
    77 on at

    Hi,

    It looks like your Do until condition is not correct.

    br,

    Gill

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @HarikaVL May i know where are you setting the value of Loop counter within the do until action?

  • HarikaVL Profile Picture
    66 on at

    Hello Anna,

     

    I have set Loop Counter value in the Append to array as below.

    HarikaVL_0-1697457222996.png

     

    Regards,

    Harika.

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @HarikaVL  it looks like the variable type is issue, the loop counter variable has type array, can you change it to integer. Also use Set Variable action instead of append to array variable action.

  • HarikaVL Profile Picture
    66 on at

    Hi Anna,

     

    I tried that before, when i use the variable type integer, It is giving me the below error. 

    Error Message

    Flow save failed with code 'WorkflowRunActionInputsInvalidProperty' and message 'The inputs of workflow run action 'Set_variable' of type 'SetVariable' are not valid. Self reference is not supported when updating the value of variable 'LoopCounter'.'.

     

    Then i tried using another variable type integer. Temporarily assigning the value to new int and incrementing that but that didn't work too.

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @HarikaVL  can you please share screenshot of Set Variable?

  • HarikaVL Profile Picture
    66 on at

    Here is the flow with two variables Loop counter and NewLoopCounter, but i am sure i am not storing the values properly but i don't know anymore how to do that. This way i am unable to say the flow itself.

    HarikaVL_0-1697465035133.png

     

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @HarikaVL  are you looking to increment the value of loop counter variable? Then you can use increment variable action instead of set variable.

     

    Also did you create a new variable 'NewLoopCounter'  as type integer, then you have to use the same in your conditions and do until where you used your array variable previously

  • HarikaVL Profile Picture
    66 on at

    Hello Anna,

    Below is my flow, could you please suggest where to make changes hence i am unable to save my flow. Getting error 

    The inputs of workflow run action 'Increment_variable' of type 'IncrementVariable' are not valid. Self reference is not supported when updating the value of variable 'NewLoopCounter'.
    HarikaVL_3-1697532131705.pngHarikaVL_4-1697532174956.pngHarikaVL_5-1697532306486.pngHarikaVL_6-1697532411220.png

     

     
  • Verified answer
    annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @HarikaVL  in the increment variable action, for value you dont need to put the formula, just put 1 in the value

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 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard