PM-1232 "fix. En IE no se visualiza correctamente la importacion de un proceso bpmn" SOLVED
This commit is contained in:
22
workflow/engine/classes/model/ProcessVariables.php
Normal file → Executable file
22
workflow/engine/classes/model/ProcessVariables.php
Normal file → Executable file
@@ -64,4 +64,26 @@ class ProcessVariables extends BaseProcessVariables {
|
||||
throw($oError);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* verify if process variable row specified in [sUid] exists.
|
||||
*
|
||||
* @param string $sUid the uid
|
||||
*/
|
||||
public function ProcessVariableExists($sUid)
|
||||
{
|
||||
$con = Propel::getConnection(ProcessVariablesPeer::DATABASE_NAME);
|
||||
|
||||
try {
|
||||
$oObj = ProcessVariablesPeer::retrieveByPk($sUid);
|
||||
|
||||
if (is_object($oObj) && get_class($oObj) == 'ProcessVariables') {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
} catch (Exception $oError) {
|
||||
throw ($oError);
|
||||
}
|
||||
}
|
||||
} // ProcessVariables
|
||||
|
||||
Reference in New Issue
Block a user