Updating BpmnWorkflow Adapter

Now Handling events, is updating only when the event was changed
This commit is contained in:
Erik Amaru Ortiz
2014-02-19 13:31:02 -04:00
parent 7ae93f5b22
commit 6e555080da
3 changed files with 33 additions and 3 deletions

View File

@@ -191,6 +191,7 @@ class Project extends Api
$whiteList = array();
foreach ($diagram["events"] as $i => $eventData) {
$eventData = array_change_key_case($eventData, CASE_UPPER);
unset($eventData["_EXTENDED"]);
// gateway exists ?
if ($event = $bwp->getEvent($eventData["EVN_UID"])) {