Skip to content

Implement an infinite loop (repeated processing)

Power Automate Desktop provides a wide range of actions for getting data from web pages and on-premises software.

However, the free version doesn’t support scheduled runs (scheduled runs require a paid license such as Power Automate Premium). Because of this, many people keep a flow running continuously without ending it, for example to monitor for a specific event.

This article explains how to implement an infinite loop.

This is an example of an infinite loop that uses the “Loop” action.

Copy the following code and paste it into the Power Automate Desktop flow designer to add the actions.

LOOP FROM 0 TO 1 STEP 0
END
  1. In “Search actions,” type “Loop.”

  2. Set the parameters to the following values.

    Loop
    Iterates a block of actions for a specified number of times
    Select parameters
    Start from
    0
    End to
    1
    Increment by
    0

This is an example of an infinite loop that uses the “Loop condition” action.

Copy the following code and paste it into the Power Automate Desktop flow designer to add the actions.

LOOP WHILE (True) = (True)
END
  1. In “Search actions,” type “Loop condition.”

  2. Set the parameters to the following values.

    Loop condition
    Iterates a block of actions as long as a specified condition proves to be true
    Select parameters
    First operand
    %True%
    Operator
    Equal to (=)
    Second operand
    %True%