Fixed Gateway to Gateway connected to Task
This commit is contained in:
@@ -214,6 +214,38 @@
|
|||||||
$countGateway+=1;
|
$countGateway+=1;
|
||||||
$countTransitions += 1;
|
$countTransitions += 1;
|
||||||
}
|
}
|
||||||
|
else if($value['GAT_NEXT_TASK'] != '' && $value['TAS_UID'] != ''){
|
||||||
|
$fields['GATEWAYS'][$countGateway]['0'] = $value['GAT_UID'];
|
||||||
|
$fields['GATEWAYS'][$countGateway]['1'] = $value['GAT_TYPE'];
|
||||||
|
$fields['GATEWAYS'][$countGateway]['2'] = $value['GAT_X'];
|
||||||
|
$fields['GATEWAYS'][$countGateway]['3'] = $value['GAT_Y'];
|
||||||
|
$fields['GATEWAYS'][$countGateway]['4'] = $value['TAS_UID'];
|
||||||
|
$fields['GATEWAYS'][$countGateway]['5'] = $value['TAS_UID'];
|
||||||
|
$countGateway+=1;
|
||||||
|
|
||||||
|
$fields['GATEWAYS'][$countGateway]['0'] = $value['GAT_UID'];
|
||||||
|
$fields['GATEWAYS'][$countGateway]['1'] = $value['GAT_TYPE'];
|
||||||
|
$fields['GATEWAYS'][$countGateway]['2'] = $value['GAT_X'];
|
||||||
|
$fields['GATEWAYS'][$countGateway]['3'] = $value['GAT_Y'];
|
||||||
|
$fields['GATEWAYS'][$countGateway]['4'] = $value['TAS_UID'];
|
||||||
|
$fields['GATEWAYS'][$countGateway]['5'] = $value['GAT_NEXT_TASK'];
|
||||||
|
$countGateway+=1;
|
||||||
|
|
||||||
|
$fields['TRANSITION'][$countTransitions]['0'] = G::generateUniqueID();
|
||||||
|
$fields['TRANSITION'][$countTransitions]['1'] = $value['TAS_UID'];
|
||||||
|
$fields['TRANSITION'][$countTransitions]['2'] = $value['GAT_UID'];
|
||||||
|
$fields['TRANSITION'][$countTransitions]['3'] = '1';
|
||||||
|
$fields['TRANSITION'][$countTransitions]['4'] = '2';
|
||||||
|
$countTransitions += 1;
|
||||||
|
|
||||||
|
|
||||||
|
$fields['TRANSITION'][$countTransitions]['0'] = G::generateUniqueID();
|
||||||
|
$fields['TRANSITION'][$countTransitions]['1'] = $value['GAT_UID'];
|
||||||
|
$fields['TRANSITION'][$countTransitions]['2'] = $value['GAT_NEXT_TASK'];
|
||||||
|
$fields['TRANSITION'][$countTransitions]['3'] = '2';
|
||||||
|
$fields['TRANSITION'][$countTransitions]['4'] = '1';
|
||||||
|
$countTransitions += 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//$subProcess = $oProcess->createSubProcessesPM($oData->subProcess);
|
//$subProcess = $oProcess->createSubProcessesPM($oData->subProcess);
|
||||||
$arrayEvents = $fields['EVENTS'];
|
$arrayEvents = $fields['EVENTS'];
|
||||||
|
|||||||
Reference in New Issue
Block a user