Any pointers?
답변 2개
Add into your workflow criteria:
AND(
NOW() >= DATE(YEAR(NOW()), MONTH(NOW()), DAY(NOW())) & "08:00:00Z",
NOW() <= DATE(YEAR(NOW()), MONTH(NOW()), DAY(NOW())) & "17:00:00Z"
)
This should consider the rule to only fire if the current moment in time is between 8am - 5pm.
I did not test this so let me know if you get an error and if so, what it is.