[Vtigercrm-developers] Why no "has changed" on reference fields in Workflows?
Alan Lord
alanslists at gmail.com
Tue Aug 27 12:29:24 UTC 2013
In com_vtiger_workflow/resources/editworkflowscript.js Why is this here?
> // Remove 'has changed' operation for reference fields
> var fe = $("#save_condition_"+condno+"_fieldname");
> var fullFieldName = fe.attr('value');
> var group = fullFieldName.match(/(\w+) : \((\w+)\) (\w+)/);
> if(group != null){
> for(var i=0; i<selOperations.length; ++i) {
> if(selOperations[i] != 'has changed') {
> selectedOperations.push(selOperations[i]);
> }
> }
> } else {
> selectedOperations = selOperations;
> }
I want to trigger a workflow when the assigned to field changes but
before I hack this file even more (wanted Greater than & Less then on
date fields) I want to make sure it isn't there for a *good* reason...
Cheers
Al
More information about the vtigercrm-developers
mailing list