[Vtigercrm-developers] Question on Scheduled Workflows and Email Templates

Alan Lord alanslists at gmail.com
Wed May 6 08:45:31 GMT 2015


On 30/04/15 14:16, Alan Lord wrote:
>
> 1. When a Workflow is a scheduled workflow, and there are no conditions,
> it looks as though the $entity record it passes into my function is
> simply the first Entity record for that module? Is that correct? Why
> does it even bother to do that?

Gah - to follow up on this I've had my a test system set up to see how 
this works and I find that my scheduled workflow is run once for *every* 
record I have for the Workflow module. Now then, if you create a 
Scheduled Workflow for Contacts and you have 50,000 Contacts that says 
to me that Workflow is going to run 50,000 times...

Is this really right?

The reason I wanted to use a Workflow rather than a Scheduler job is 
that in a Scheduled Workflow job you can specify a start time which you 
can't in the Scheduler; only a frequency and it drifts over time...

Al




More information about the vtigercrm-developers mailing list