Adicion para filtrar events END
This commit is contained in:
@@ -462,7 +462,10 @@ class BpmnWorkflow extends Project\Bpmn
|
||||
$condition = array_key_exists('FLO_CONDITION', $gatewayFlow) ? $gatewayFlow["FLO_CONDITION"] : '';
|
||||
|
||||
if ($gatewayFlow['FLO_ELEMENT_DEST_TYPE'] == 'bpmnEvent') {
|
||||
$this->wp->addRoute($activity["ACT_UID"], -1, $routeType, $condition);
|
||||
$event = \BpmnEventPeer::retrieveByPK($gatewayFlow['FLO_ELEMENT_DEST']);
|
||||
if ($event->getEvnType() == "END") {
|
||||
$this->wp->addRoute($activity["ACT_UID"], -1, $routeType, $condition);
|
||||
}
|
||||
} else {
|
||||
$this->wp->addRoute($activity["ACT_UID"], $gatewayFlow['FLO_ELEMENT_DEST'], $routeType, $condition);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user