BUG 9422 Event doen't run for cases automatically scheduled SOLVED

- I add execute event in automatically scheduled
This commit is contained in:
Brayan Osmar Pereyra Suxo
2012-07-27 12:30:48 -04:00
parent 7bcb8d27b4
commit 963f379ff1
2 changed files with 12 additions and 1 deletions

View File

@@ -2286,6 +2286,16 @@ class wsBase
$taskName = '';
}
// execute events
$eventPro = $_SESSION["PROCESS"];
$eventApp = $caseId;
$eventInd = $aAppDel['DEL_INDEX'];
$eventTas = $aAppDel['TAS_UID'];
$oEvent = new Event();
$oEvent->createAppEvents($eventPro, $eventApp, $eventInd, $eventTas);
// end events
$currentUser = new stdClass();
$currentUser->userId = $aAppDel['USR_UID'];
$currentUser->userName = $currentUserName;