PMC-369
This commit is contained in:
@@ -845,7 +845,8 @@ class Derivation
|
|||||||
return $arrayDerivationResult;
|
return $arrayDerivationResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Route the case
|
/**
|
||||||
|
* Route the case
|
||||||
* If need to create another thread we can execute the doDerivate
|
* If need to create another thread we can execute the doDerivate
|
||||||
*
|
*
|
||||||
* @param array $currentDelegation
|
* @param array $currentDelegation
|
||||||
@@ -853,7 +854,11 @@ class Derivation
|
|||||||
* @param bool $removeList
|
* @param bool $removeList
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @throws /Exception
|
* @throws Exception
|
||||||
|
*
|
||||||
|
* @see beforeDerivate()
|
||||||
|
* @see doDerivation()
|
||||||
|
* @see verifyIsCaseChild()
|
||||||
*/
|
*/
|
||||||
function derivate(array $currentDelegation, array $nextDelegations, $removeList = true)
|
function derivate(array $currentDelegation, array $nextDelegations, $removeList = true)
|
||||||
{
|
{
|
||||||
@@ -1049,6 +1054,9 @@ class Derivation
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$iNewDelIndex = $this->doDerivation($currentDelegation, $nextDel, $appFields, $aSP);
|
$iNewDelIndex = $this->doDerivation($currentDelegation, $nextDel, $appFields, $aSP);
|
||||||
|
//Load Case Data again because the information could be change in method "doDerivation"
|
||||||
|
$verifyApplication = $this->case->loadCase($currentDelegation['APP_UID']);
|
||||||
|
$appFields['APP_DATA'] = $verifyApplication['APP_DATA'];
|
||||||
//When the users route the case in the same time
|
//When the users route the case in the same time
|
||||||
if($iNewDelIndex !== 0){
|
if($iNewDelIndex !== 0){
|
||||||
$arrayDerivationResult[] = [
|
$arrayDerivationResult[] = [
|
||||||
|
|||||||
Reference in New Issue
Block a user