Merge pull request #1223 from julceslauhub/master

BUG 10405 Problemas en la derivacion de subprocesos SOLVED
This commit is contained in:
julceslauhub
2013-01-24 08:56:28 -08:00
2 changed files with 17 additions and 17 deletions

View File

@@ -135,6 +135,7 @@ class Derivation
break;
}
$aDerivation['NEXT_TASK']['USR_UID'] = '';
$aDerivation['NEXT_TASK']['USER_ASSIGNED'] = array('USR_UID' => '');
} else {
//3. load the task information of normal NEXT_TASK
$aDerivation['NEXT_TASK'] = $oTask->load( $aDerivation['ROU_NEXT_TASK'] ); //print $aDerivation['ROU_NEXT_TASK']." **** ".$aDerivation['NEXT_TASK']['TAS_TYPE']."<hr>";
@@ -764,7 +765,7 @@ class Derivation
if ($aSP['SP_SYNCHRONOUS'] == 0) {
$this->case->setDelInitDate( $currentDelegation['APP_UID'], $iNewDelIndex );
$aDeriveTasks = $this->prepareInformation( array ('USER_UID' => - 1,'APP_UID' => $currentDelegation['APP_UID'],'DEL_INDEX' => $iNewDelIndex
$aDeriveTasks = $this->prepareInformation( array ('USER_UID' => -1,'APP_UID' => $currentDelegation['APP_UID'],'DEL_INDEX' => $iNewDelIndex
) );
if (isset( $aDeriveTasks[1] )) {