Merge pull request #2257 from julceslauhub/master

Add validation when existas tasks without routing rules in the processmap preview for the operator users
This commit is contained in:
julceslauhub
2014-01-27 13:15:10 -08:00

View File

@@ -155,6 +155,7 @@ class processMap
$oTask->position->x = (int) $aRow1['TAS_POSX'];
$oTask->position->y = (int) $aRow1['TAS_POSY'];
$oTask->derivation = null;
$oTask->derivation->type = '';
$oTask->derivation->to = array();
$oCriteria = new Criteria('workflow');
$oCriteria->add(RoutePeer::PRO_UID, $sProcessUID);