This commit is contained in:
Paula V. Quispe
2015-11-19 20:01:07 -04:00
parent 87da0f267d
commit 50d49cf093

View File

@@ -260,6 +260,13 @@ class BpmnWorkflow extends Project\Bpmn
}
}
if($activityCurrent->getActLoopType() == "EMPTY"){
$task = \TaskPeer::retrieveByPK($actUid);
if($task->getTasAssignType() == "MULTIPLE_INSTANCE_VALUE_BASED"){
$taskData["TAS_ASSIGN_TYPE"] = "BALANCED";
}
}
$this->wp->updateTask($actUid, $taskData);
}