05-04-2021, 03:32 PM
I just did a test and it seems to be working correctly.
I added an email task to potentials, set the offset to one day, the queue in the database has:
do_after = 1620228150 = Wednesday, May 5, 2021 3:22:30 PM
today is Tuesday, May the 4th (be with you :-) )
I edited the workflow and set the offset to 2 and ended up with
do_after = 1620314787 = Thursday, May 6, 2021 3:26:27 PM
The code here: https://github.com/tsolucio/corebos/blob/master/modules/com_vtiger_workflow/VTTaskQueue.inc#L48
seems to say that it will not execute those tasks until that do_after time has passed
I added an email task to potentials, set the offset to one day, the queue in the database has:
do_after = 1620228150 = Wednesday, May 5, 2021 3:22:30 PM
today is Tuesday, May the 4th (be with you :-) )
I edited the workflow and set the offset to 2 and ended up with
do_after = 1620314787 = Thursday, May 6, 2021 3:26:27 PM
The code here: https://github.com/tsolucio/corebos/blob/master/modules/com_vtiger_workflow/VTTaskQueue.inc#L48
seems to say that it will not execute those tasks until that do_after time has passed
Joe
TSolucio
TSolucio