fixing xpdl import

This commit is contained in:
fernando
2011-03-21 19:15:24 -04:00
parent bfc93d1a75
commit 9b68a75fc1
6 changed files with 168 additions and 86 deletions

View File

@@ -48,6 +48,7 @@
$sProUid = $oData->process['PRO_UID'];
$oData->process['PRO_UID_OLD']=$sProUid;
if ( !isset( $oData->tasks) ) $oData->tasks = array();
$tasks = $oData->tasks;
// code added by gustavo cruz gustavo-at-colosa-dot-com
// evaluate actions or import options

View File

@@ -92,6 +92,7 @@
die;
}
// end added code
if ( !isset( $oData->tasks) ) $oData->tasks = array();
$tasks = $oData->tasks;
$oProcess->createProcessFromDataXpdl ($oData,$tasks);
G::header('Location: processes_Map?PRO_UID=' . $sProUid);