PM-3978 "Al derivar a un task multiple instance..." SOLVED

Issue:
    Al derivar a un task multiple instance muestra un error y bloquea cualquier actividad
Cause:
    No se implemento este nuevo tipo de asignacion (esto en el end-point light)
Solution:
    Se completa codigo para este nuevo tipo de asignacion (esto en el end-point light)
This commit is contained in:
Victor Saisa Lopez
2015-11-06 12:28:00 -04:00
parent 29582243fb
commit 27b04802a5

View File

@@ -457,6 +457,8 @@ class Light
$response[] = $taskAss;
break;
case 'MANUAL':
case "MULTIPLE_INSTANCE":
case "MULTIPLE_INSTANCE_VALUE_BASED":
$manual = array();
$manual['taskId'] = $aValues['NEXT_TASK']['TAS_UID'];
$manual['taskName'] = $aValues['NEXT_TASK']['TAS_TITLE'];
@@ -492,7 +494,7 @@ class Light
}
if (empty( $response )) {
throw (new Exception( G::LoadTranslation( 'ID_NO_DERIVATION_RULE' ) ));
throw new \Exception(G::LoadTranslation("ID_NO_DERIVATION_RULE"));
}
} catch (\Exception $e) {
throw $e;