HOR-551 "Improve GetNextDerivationInfo(CaseId, DelIndex) - return..." SOLVED
Issue:
Improve GetNextDerivationInfo(CaseId, DelIndex) - return Assignment type
Cause:
Nuevo requerimiento de variable/key
Solution:
Se agrega la variable/key assignmentType al array retornado por la funcion PMFGetNextDerivationInfo
HOR-551 "Improve GetNextDerivationInfo(CaseId, DelIndex) - return..." SOLVED
Issue:
Improve GetNextDerivationInfo(CaseId, DelIndex) - return Assignment type
Cause:
Nuevo requerimiento de variable/key
Solution:
Se agrega la variable/key assignmentType al array retornado por la funcion PMFGetNextDerivationInfo
This commit is contained in:
@@ -3306,13 +3306,22 @@ function PMFGetNextDerivationInfo($caseUid, $delIndex)
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$arrayNextDerivationInfo[] = [
|
||||
'taskUid' => $nextTaskUid,
|
||||
'users' => $arrayUserUid,
|
||||
'groups' => $arrayGroupUid,
|
||||
];
|
||||
$assignmentType = $arrayInfo['NEXT_TASK']['TAS_ASSIGN_TYPE'];
|
||||
|
||||
if ($arrayInfo['NEXT_TASK']['TAS_ASSIGN_TYPE'] == 'SELF_SERVICE' &&
|
||||
trim($arrayInfo['NEXT_TASK']['TAS_GROUP_VARIABLE']) != ''
|
||||
) {
|
||||
$assignmentType = 'SELF_SERVICE_VALUE';
|
||||
}
|
||||
|
||||
$arrayNextDerivationInfo[] = [
|
||||
'taskUid' => $nextTaskUid,
|
||||
'assignmentType' => $assignmentType,
|
||||
'users' => $arrayUserUid,
|
||||
'groups' => $arrayGroupUid,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
//Return
|
||||
|
||||
Reference in New Issue
Block a user