[Vtigercrm-developers] Workflow Task Execute After Delay

Alan Lord (News) alanslists at gmail.com
Mon May 20 13:24:32 UTC 2013


On 20/05/13 13:18, Sreenivas Kanumuru wrote:
> Alan,
>
> Yes, the task is executed though the conditions changed during the
> delay. This does make this feature not so useful in some cases. The only
> way to address this is by having scheduled workflows, that run through
> all the records to see if the condition is true, at the time the task is
> to be executed.

Thanks Sreenivas.

I don't think either way is wrong or right, but knowing is handy ;-)

I have a possible requirement for this where I do not want the task to 
happen if things change, but in this case it will be a custom workflow 
function so I can do my own tests within the function.

I find myself writing Scheduler functions more and more to achieve 
things like the above. It would be nice if you add a "time to run" on 
the scheduler configuration (like cron has) as we have noticed that 
scheduled function can drift over time when it is set for 86400 (once 
per day).

Thanks again,

Alan


-- 
Libertus Solutions
http://www.libertus.co.uk



More information about the vtigercrm-developers mailing list