[Vtigercrm-developers] packaged entity for workflow or Event Handler?
Alan Lord
alanslists at gmail.com
Wed Jun 6 14:16:56 GMT 2018
I am working on some code to work around the restrictions imposed in v7
for the vtiger.batchevents by triggering either a needed workflow or
Event handler directly from a custom cron-based scheduler function.
What I can't find is how to build the $entityData that is sent to the
handleEvent method or Workflow function so that the id has the
webservices format, e.g. wsidxcrmid rather than just the crmid.
Does anyone know where this packaging takes place before-hand?
Or is it simply a case of just replacing the $entity['id'] value with
the result of a call to
vtws_getWebserviceEntityId(module, id);
Cheers
Al
More information about the vtigercrm-developers
mailing list