[Vtigercrm-developers] Event Handler or Custom Workflow function?
Joe Bordes
joe at tsolucio.com
Mon Nov 18 11:56:59 GMT 2013
The way I see it, it is a user thing. If you want/need your user to be
able to easily deactivate or change the launch conditions it is a
workflow, if that isn't the case, an event handler is better because you
won't run into the case of some user deactivating it on you :-)
Another scenario is when you need to launch the code on more than one
module, if you need that it is an event handler.
On 18/11/13 11:35, Alan Lord wrote:
> Anyone have any guidelines/observations about when it's better to
> write an Event Handler or a Custom Workflow function?
>
> I want to populate a few fields in a module record when it's created
> and/or saved again. These fields will be read-only and populated with
> values from related modules' data.
>
> I can do it either way. Just wondering if one is better or more
> suitable. I can't really see much difference myself.
>
> Cheers
>
> Al
>
> _______________________________________________
> http://www.vtiger.com/
>
--
Un saludo
Joe
TSolucio
More information about the vtigercrm-developers
mailing list