12-08-2015, 10:35 AM
Look at the CreateTodo and CreateEvent workflow tasks:
https://github.com/tsolucio/corebos/blob/master/modules/com_vtiger_workflow/tasks/VTCreateEventTask.inc
those do that using the webservice infrastructure which is the easiest way to do it.
More or less like this HelperScript:
https://github.com/tsolucio/corebos/blob/master/build/HelperScripts/importcsv.php
https://github.com/tsolucio/corebos/blob/master/modules/com_vtiger_workflow/tasks/VTCreateEventTask.inc
those do that using the webservice infrastructure which is the easiest way to do it.
More or less like this HelperScript:
https://github.com/tsolucio/corebos/blob/master/build/HelperScripts/importcsv.php
Joe
TSolucio
TSolucio