PM-2790
0017387: Derivacion en paralelo, una de los hilos llega a la bandeja como leido
This commit is contained in:
@@ -1078,6 +1078,7 @@ class Cases
|
||||
$Fields['DEL_INDEX'] = 1;
|
||||
}
|
||||
$inbox = new ListInbox();
|
||||
unset($Fields['DEL_INIT_DATE']);
|
||||
$inbox->update(array_merge($Fields, $arrayNewCaseTitleAndDescription));
|
||||
/*----------------------------------********---------------------------------*/
|
||||
|
||||
|
||||
@@ -835,15 +835,6 @@ class Derivation
|
||||
//Start Block : UPDATES APPLICATION
|
||||
$this->case->updateCase( $currentDelegation["APP_UID"], $appFields );
|
||||
//End Block : UPDATES APPLICATION
|
||||
|
||||
if($currentDelegation['ROU_TYPE'] == 'PARALLEL-BY-EVALUATION'){
|
||||
$con = Propel::getConnection('workflow');
|
||||
$c1 = new Criteria('workflow');
|
||||
$c1->add(ListInboxPeer::APP_UID, $currentDelegation["APP_UID"]);
|
||||
$c2 = new Criteria('workflow');
|
||||
$c2->add(ListInboxPeer::DEL_INIT_DATE, null);
|
||||
BasePeer::doUpdate($c1, $c2, $con);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user