I have a table where several emails are sent ...

I have a table where several emails are sent from workflows based on when the table gets updatedโ€ฆ

Class table - Announced, Confirmed (both date/time fields)

When the field gets stamped with NOW(), the workflow โ€œon updateโ€ fires off the appropriate report, either Class Announced email or Class Confirmed email.

Problem is that both workflows send an email EVERYTIME the table is updated, so Iโ€™ve started to implement conditions.

Im trying to set the following condition for each of the workflows:

([Announced Date Time] >= (Now() - SECOND(โ€œ010:00:00โ€))))

This would ONLY send the workflow if the Announced DateTime value is within 10 seconds of Now()

Problem is that I cant get Now()-10 seconds to work โ€ฆ no matter what I doโ€ฆ

Thoughts?

0 5 303
5 REPLIES 5

#solved

@David_Hopkins

[Announced Date Time]>=NOW()-โ€œ000:00:10โ€

@Levent_KULACOGLU

well that seems much easier than what I was tryingโ€ฆ

Is there any particular reason that youโ€™ve got the parens around the field name?

@David_Hopkins you donโ€™t need to enclose the column/field name in paranthesises with writing an expression unless otherwise required with some particular functions.

Another condition chck method is the formula [_THISROW_BEFORE].[FieldName]<>[_THISROW_AFTER].[FieldName]. This will check if the field value is changed or not. If itโ€™s changed, the workflow will be triggered.

Top Labels in this Space