Hello,
Formula scripts for Timer Intermediate Event (Catching) should return Date-Time value that's right?
I want stop the flow for the next working day (without Saturday and Sunday).
I got Status: failed. where is the mistake?
Formula scripts for Timer Intermediate Event (Catching) should return Date-Time value that's right?
I want stop the flow for the next working day (without Saturday and Sunday).
I got Status: failed. where is the mistake?
HTML Code:
$daynumber = datetime\dayOfWeek(datetime\now()); ifThen($daynumber == 0 || $daynumber == 1 || $daynumber == 2 || $daynumber == 3 || $daynumber == 4, datetime\addDays(datetime\now(), 1)); ifThen($daynumber == 5, datetime\addDays(datetime\now(), 3)); ifThen($daynumber == 6, datetime\addDays(datetime\now(), 2));
Comment