PM-00000 "Accept Event-Based-Gateway only for the design (back-end)"
- Accept Event-Based-Gateway only for the design (back-end)
This commit is contained in:
@@ -17,10 +17,11 @@ class BpmnWorkflow extends Project\Bpmn
|
|||||||
*/
|
*/
|
||||||
protected $wp;
|
protected $wp;
|
||||||
|
|
||||||
const BPMN_GATEWAY_COMPLEX = "COMPLEX";
|
const BPMN_GATEWAY_COMPLEX = "COMPLEX";
|
||||||
const BPMN_GATEWAY_PARALLEL = "PARALLEL";
|
const BPMN_GATEWAY_PARALLEL = "PARALLEL";
|
||||||
const BPMN_GATEWAY_INCLUSIVE = "INCLUSIVE";
|
const BPMN_GATEWAY_INCLUSIVE = "INCLUSIVE";
|
||||||
const BPMN_GATEWAY_EXCLUSIVE = "EXCLUSIVE";
|
const BPMN_GATEWAY_EXCLUSIVE = "EXCLUSIVE";
|
||||||
|
const BPMN_GATEWAY_EVENTBASED = "EVENTBASED";
|
||||||
|
|
||||||
private $arrayTaskAttribute = array(
|
private $arrayTaskAttribute = array(
|
||||||
"gateway-to-gateway" => array("type" => "GATEWAYTOGATEWAY", "prefix" => "gtg-"),
|
"gateway-to-gateway" => array("type" => "GATEWAYTOGATEWAY", "prefix" => "gtg-"),
|
||||||
@@ -674,6 +675,11 @@ class BpmnWorkflow extends Project\Bpmn
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
//case "TO_DO":
|
||||||
|
case self::BPMN_GATEWAY_EVENTBASED:
|
||||||
|
$routeType = "EVALUATE";
|
||||||
|
break;
|
||||||
|
//default
|
||||||
default:
|
default:
|
||||||
throw new \LogicException("Unsupported Gateway type: " . $arrayGatewayData["GAT_TYPE"]);
|
throw new \LogicException("Unsupported Gateway type: " . $arrayGatewayData["GAT_TYPE"]);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user