Merged in gproly/processmaker/HOR-2192 (pull request #5106)

HOR-2192
This commit is contained in:
Paula Quispe
2016-11-10 19:18:00 +00:00

View File

@@ -2158,6 +2158,18 @@ class Cases
throw (new Exception('You tried to start a new case without send the USER UID or TASK UID!')); throw (new Exception('You tried to start a new case without send the USER UID or TASK UID!'));
} }
//Log
$data = [
"appUid" => $sAppUid,
"usrUid" => $sUsrUid,
"tasUid" => $sTasUid,
"isSubprocess" => $isSubprocess,
"appNumber" => $caseNumber,
"delIndex" => $iDelIndex,
"appInitDate" => $Fields['APP_INIT_DATE']
];
Bootstrap::registerMonolog('CreateCase', 200, "Create case", $data, SYS_SYS, 'processmaker.log');
//call plugin //call plugin
if (class_exists('folderData')) { if (class_exists('folderData')) {
$folderData = new folderData( $folderData = new folderData(