Execute workflow based on Modified item - Power automate

 if you want to trigger the flow only when an existing item is modified in your SharePoint list, you could consider add the "When an item is created or modified" as the trigger of your flow and add a Condition to check if the existing item is modified trigger yur flow. please take a try with the following workaround:

  • Add a "When an item is created or modified" trigger in Power automate
  • Go to settings using ...
  • In the Trigger Conditions
  • Add the below code
@not(equals(triggerBody()['Created'], triggerBody()['Modified']))

OR 

if you want to execute the workflow based on field value then use the below code

@not(equals(triggerBody()?['Current_x0020_Stage'],null))



-----------------
https://www.c-sharpcorner.com/article/flow-trigger-conditions-for-sharepoint-run-flow-when-needed/

Comments

Popular posts from this blog

SharePoint 2016 and 2019 Ports

PsConfig step by step /Configuration Wizard. “Upgrade Available” vs “Upgrade required”

Unlock the SharePoint site using Powershell command