Add validation when existas tasks without routing rules in the processmap preview for the operator users

This commit is contained in:
Julio Cesar Laura
2014-01-27 16:48:39 -04:00
parent 48e9f3edd5
commit 69afc1b9dd

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);