de tarea normal end event
This commit is contained in:
@@ -941,6 +941,12 @@ class Derivation
|
|||||||
case TASK_FINISH_TASK:
|
case TASK_FINISH_TASK:
|
||||||
$iAppThreadIndex = $appFields['DEL_THREAD'];
|
$iAppThreadIndex = $appFields['DEL_THREAD'];
|
||||||
$this->case->closeAppThread( $currentDelegation['APP_UID'], $iAppThreadIndex );
|
$this->case->closeAppThread( $currentDelegation['APP_UID'], $iAppThreadIndex );
|
||||||
|
if (isset($nextDel["TAS_UID_DUMMY"]) && !$flagTaskAssignTypeIsMultipleInstance) {
|
||||||
|
$taskDummy = TaskPeer::retrieveByPK($nextDel["TAS_UID_DUMMY"]);
|
||||||
|
if (preg_match("/^(?:END-MESSAGE-EVENT|END-EMAIL-EVENT)$/", $taskDummy->getTasType())) {
|
||||||
|
$this->executeEvent($nextDel["TAS_UID_DUMMY"], $appFields, $flagFirstIteration, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
//Get all siblingThreads
|
//Get all siblingThreads
|
||||||
|
|||||||
Reference in New Issue
Block a user