Alan, <div><br></div><div>Until the first time the condition is true executes whatever worklfow you create only once and then it disables it. </div><div><br></div><div>That's it.</div><div><br></div><div>My problem with writing the cronjob is that I want to be able to pull a specific email template and pick variables and that will be time-consuming. </div>
<div><br></div><div>I'd rather have a workflow that do that. It already runs in the background every 3 minutes for me.</div><div><br></div><div>I don't understand why it can't pick up these things.<br><br><div class="gmail_quote">
On Tue, Dec 18, 2012 at 3:01 AM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 18/12/12 03:52, Petar Dimov wrote:<br>
><br>
> Just realized I can't really accomplish that with workflows. ( Set a<br>
> condition if customer birthdate is today) to email them.<br>
><br>
> Is there any non coding way to do this or I have to write a separate<br>
> cron job for that?<br>
<br>
</div>I think you will really need to write a small cron job to do this. The<br>
Workflow tool is there to act on entities that have been triggered in<br>
some way; although I never really got the full scope of the "Until the<br>
first time the condition is true." trigger? What fires this one? Does it<br>
evaluate *all* entities in the workflow module?<br>
<br>
Anyway, cron jobs aren't *that* hard to write; you'll need to do some<br>
date manipulation to get just the month and day fields for comparison,<br>
and probably use an email template handle to create and then fire off<br>
the message.<br>
<br>
But of course there are plenty of vtiger experts out there who could<br>
help you if you need it I am sure ;-)<br>
<br>
<br>
Cheers<br>
<br>
Al<br>
<br>
--<br>
Libertus Solutions<br>
<a href="http://www.libertus.co.uk" target="_blank">http://www.libertus.co.uk</a><br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best Regards,<br><br>Petar Dimov<br><br><br>
</div>