Saving Start event completed

This commit is contained in:
girish
2011-02-15 13:17:35 +00:00
parent 77c69b3153
commit e3c152cad7
4 changed files with 66 additions and 64 deletions

View File

@@ -463,6 +463,7 @@ class processMap {
$oTrigger = new Triggers ( );
$oRoute = new Route ( );
$oGateway = new Gateway ( );
$oEvent = new Event ( );
$oSwimlaneElement = new SwimlanesElements ( );
$oConfiguration = new Configuration ( );
$oDbSource = new DbSource ( );
@@ -554,6 +555,17 @@ class processMap {
$oDataset->next();
}
//Delete the Event of process
$oCriteria = new Criteria('workflow');
$oCriteria->add(EventPeer::PRO_UID, $sProcessUID);
$oDataset = EventPeer::doSelectRS($oCriteria);
$oDataset->setFetchmode(ResultSet::FETCHMODE_ASSOC);
$oDataset->next();
while ($aRow = $oDataset->getRow()) {
$oEvent->remove($aRow ['EVN_UID']);
$oDataset->next();
}
//Delete the swimlanes elements of process
$oCriteria = new Criteria('workflow');
$oCriteria->add(SwimlanesElementsPeer::PRO_UID, $sProcessUID);