[Vtigercrm-developers] Trigger Workflow via Ajax?
Alan Lord (News)
alanslists at gmail.com
Tue Nov 11 16:42:45 GMT 2014
I've an odd situation where I'm saving data to an completely unrelated
table that isn't an entity record but the information I'm saving in it
is required by an entity record during a workflow calculation function.
This workflow function is normally triggered by an "Every time the
record is {saved or modified}" trigger.
I would like to trigger this workflow after I've made an Ajax call to an
unrelated save of data that has nothing to do with the entity. I don't
really want to call the module's normal Save event because that will
cause all sorts of UI changes... I need a kind of "phantom save event"
or a handle directly to the workflow function.
Or alternatively could I fire an event handler as another way of
achieving my objective?
Or do I need to write a completely custom action to replicate the Workflow?
Any ideas or thoughts?
Cheers
Al
--
Libertus Solutions
http://www.libertus.co.uk
More information about the vtigercrm-developers
mailing list