Forum Discussion

joao_PT's avatar
joao_PT
Copper Contributor
Mar 19, 2025

Create a workflow in sharepoint list

I have a list in the sharepoint.

I would like to create an workflow to fill in a specific column based on the date of other column.

For instance: I place manually a date in "column 1" , and the system should place a date in "column 2" . The date of column 2 is the date from column 1 + 30 days. 

 

I created:  

  1. When an item is created or modified;
  2. Condition:  "column 1" is not equal to null
  3. If yes:  addDays(triggerOutputs()?['body/Final do Lote'], 30)

 

Appear an error saying: this workflow may result in an infinitive trigger loop.

 

How can I define it ?

1 Reply

  • lgonyea's avatar
    lgonyea
    Iron Contributor

    Add a Trigger Condition to the 'When an item is created or modified' action (under ...) based on another value condition. Search for "infinite trigger loop" to learn more. This is one of many links that helped me figure out solutions: https://tomriha.com/how-to-avoid-infinite-trigger-loop-in-power-automate/

Resources