02-10-2021, 12:28 AM
Try this change and let me know how it goes so I can put it into the master branch
Code:
diff --git a/modules/com_vtiger_workflow/tasks/VTUpdateFieldsTask.inc b/modules/com_vtiger_workflow/tasks/VTUpdateFieldsTask.inc
index 0a0e6ac1d..76b287484 100644
--- a/modules/com_vtiger_workflow/tasks/VTUpdateFieldsTask.inc
+++ b/modules/com_vtiger_workflow/tasks/VTUpdateFieldsTask.inc
@@ -116,6 +116,7 @@ class VTUpdateFieldsTask extends VTTask {
$focus->saveentity($moduleName);
if (count($relmodule)>0 && $relId!='' && $relId!=0) {
foreach ($relmodule as $mod) {
+ $from_wf = true;
$focusrel[$mod]->column_fields = DataTransform::sanitizeRetrieveEntityInfo($focusrel[$mod]->column_fields, $handlerMetarel[$mod]);
if ($this->launchrelwf) {
$focusrel[$mod]->save($mod);
Joe
TSolucio
TSolucio