[Vtigercrm-developers] Workflow - how to invoke an SQL script when a Project is first created.

Alan Lord alanslists at gmail.com
Thu Jan 28 08:13:36 GMT 2016


On 28/01/16 07:13, Bernard Bailey wrote:
> Hi team,
>
> I am using vtiger 6.4.  I need to activate an sql script when a new project
> with conditions is first saved.
>
> This script creates a block of Milestones along with a large number of Tasks
> linked to the Milestones.
> This script takes 3 seconds to run and replaces several hours of setup work.
>
> Is there a way to do this?

Yes, you can create and register what is called a "Custom Workflow 
Function".

But could you not just add several normal Workflow "Create Entity Tasks" 
to do this? You can assign multiple tasks to the same Workflow...


HTH

Alan



More information about the vtigercrm-developers mailing list