Merged in bugfix/PMCORE-2264 (pull request #7848)

PMCORE-2264 PMFSendMessage is sending two mails

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Roly Rudy Gutierrez Pinto
2021-03-24 13:15:42 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -1053,7 +1053,7 @@ try {
// Swap temporary APP_NUMBER
$newAppNumber = $bmWebEntry->swapTemporaryAppNumber($caseId);
$Fields['APP_NUMBER'] = $Fields['APP_DATA']['APP_NUMBER'] = $newAppNumber;
$derivationResponse = PMFDerivateCase($caseId, $delIndex, true);
$derivationResponse = PMFDerivateCase($caseId, $delIndex, false);
if ($derivationResponse) {
$webEntryUrl = $bmWebEntry->getCallbackUrlByTask($currentTask['TAS_UID']);
$delegationData = $Fields['APP_DATA'];