简体   繁体   中英

Power Automate to schedule the flow after first week of the month on a certain weekday

I have a simple thing to do. I have a recurrence flow that refreshes my dataset and then the report goes out based on that.

now my issue that I need to run the flow only on TUESDAYs except the first Tuesday of the month.

在此处输入图像描述

I have set up a trigger condition on the above as below but it's not working. It should have run today but did not.

@greater(int(utcNow('dd')),7)

在此处输入图像描述

What I suspect is that timezone difference. because my original Recurrence is using +10 timezone but the conditions says utcNow(), maybe it's reading from there and 11am has still not arrived in that timezone. but I need it to run in +10AEST timezone.

Found an answer for it in case anyone else needs it.

The above expression is correct, except that I needed to use @greaterOrEquals(int(utcNow('dd')),7)

not sure why. but it just works...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM