[Vtigercrm-developers] Event Handler or Custom Workflow function?

Alan Lord alanslists at gmail.com
Mon Nov 18 13:46:19 GMT 2013



On 18/11/13 11:56, Joe Bordes wrote:
> 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.

Thanks Joe,

That's a helpful way to think about it.

Cheers

Al

> 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?





More information about the vtigercrm-developers mailing list