I want to make a workflow for mails recieved between Saturday 20:00 to Monday 05:00.
For the saturday i try this:
if(weekday({{ticket.created_at}}) == 7 and substring({{ticket.created_at}},11,13) > 20)
But i keep getting "invalid operator” errors. als i cant seem to find a list of what format the value of the placeholders (like {{ticket.created_at}}) are.
Can someone help me on how i can do this?
Best answer by DirkH
Thanks for the quick answer. apparently the weekday's where still of (Saturday is 0 and not 7 as the explanation in the expression builders says) but I managed to do what I wanted with this:
Thanks for the quick answer. apparently the weekday's where still of (Saturday is 0 and not 7 as the explanation in the expression builders says) but I managed to do what I wanted with this:
Thanks for the quick answer. apparently the weekday's where still of (Saturday is 0 and not 7 as the explanation in the expression builders says) but I managed to do what I wanted with this: