Fixed issue for problem with loading Evaluate gateway in new processmap

This commit is contained in:
girish
2011-01-12 15:04:06 +00:00
parent 15ead25a30
commit 9ea3b0a0e8
2 changed files with 2 additions and 1 deletions

View File

@@ -3523,7 +3523,7 @@ class Xpdl extends processes
$positionY=$coordinateY+55; $positionY=$coordinateY+55;
if($idTask != $taskEvaluate){ if($idTask != $taskEvaluate){
$taskEvaluate = $idTask; $taskEvaluate = $idTask;
$routeEvaluate = $idRoute; $routeEvaluate = $sGateUID;
if($nextTask != "-1"){ if($nextTask != "-1"){
$arrayGateways[$countG]['0'] = $sGateUID; $arrayGateways[$countG]['0'] = $sGateUID;
$arrayGateways[$countG]['1'] = 'bpmnGatewayExclusiveData'; $arrayGateways[$countG]['1'] = 'bpmnGatewayExclusiveData';

View File

@@ -477,6 +477,7 @@ Ext.onReady ( function() {
{ {
if(typeof this.workflow.figures.data[conn] === 'object') if(typeof this.workflow.figures.data[conn] === 'object')
{ {
//If End Process or Evaluate
if(targetid == '-1' || typeof shapes.routes[i][5] != 'undefined' && shapes.routes[i][5] == 'EVALUATE') if(targetid == '-1' || typeof shapes.routes[i][5] != 'undefined' && shapes.routes[i][5] == 'EVALUATE')
{ {
targetObj = eval("new bpmnEventEmptyEnd (this.workflow)"); targetObj = eval("new bpmnEventEmptyEnd (this.workflow)");