Power Platform Trigger Condition(Run Flow 1st of every month)

 


  

Trigger Condition  in Automatic Flow

1st Day of the Month  -- Testing to trigger today  ==>

"@equals(formatDateTime(utcNow(),'yyyy-MM-dd'),addDays(startOfMonth(utcNow()),22,'yyyy-MM-dd'))"
Last Day of the Month  -- Testing to trigger today ==> 

"@equals(addDays(utcNow(),7,'yyyy-MM-dd'),formatDateTime(subtractFromTime(startOfMonth(addToTime(utcNow(),1,'month')),1,'day'),'yyyy-MM-dd'))"



1st Day of the Month ==> 
"@equals(formatDateTime(utcNow(),'yyyy-MM-dd'),formatDateTime(startOfMonth(utcNow()),'yyyy-MM-dd'))"


Last Day of the Month ==>  
@equals(formatDateTime(utcNow(),'yyyy-MM-dd'),formatDateTime(subtractFromTime(startOfMonth(addToTime(utcNow(),1,'month')),1,'day'),'yyyy-MM-dd'))




Comments

Popular posts from this blog

Sites.Selected | Graph API SharePoint Permission

Configure the SharePoint Online App Catalog

Azure Function | Sharepoint List item | Call from Power Automate Flow