[Start Case Trigger] Execute trigger when the case is created.
This commit is contained in:
dheeyi william
2016-11-11 12:15:22 -04:00
parent e72b256c4b
commit f0decd7712
2 changed files with 4 additions and 0 deletions

View File

@@ -2184,6 +2184,7 @@ class Cases
$oPluginRegistry = &PMPluginRegistry::getSingleton();
$oPluginRegistry->executeTriggers(PM_CREATE_CASE, $folderData);
}
$this->getExecuteTriggerProcess($sAppUid, 'CREATE');
//end plugin
return array(
'APPLICATION' => $sAppUid,

View File

@@ -828,6 +828,9 @@ class Process extends BaseProcess
$webBotTrigger = '';
switch ($action) {
case 'CREATE':
$var = ProcessPeer::PRO_TRI_CREATE;
break;
case 'OPEN':
$var = ProcessPeer::PRO_TRI_OPEN;
break;