Ejemplo n.º 1
0
         case 2:
             $oProcessMap->stepsConditions($oData->proUid, $oData->tasUid);
             break;
         case 3:
             $oProcessMap->stepsTriggers($oData->proUid, $oData->tasUid);
             break;
     }
     break;
 case 'users':
     $oProcessMap->users($oData->pro_uid, $oData->tas_uid);
     break;
 case 'users_adhoc':
     $oProcessMap->users_adhoc($oData->pro_uid, $oData->tas_uid);
     break;
 case 'addTask':
     $sOutput = $oProcessMap->addTask($oData->uid, $oData->position->x, $oData->position->y);
     $sOutputAux = G::json_decode($sOutput);
     $sOutputAux = (array)$sOutputAux;
     G::auditLog('AddTask','Add new task ('.$sOutputAux['uid'].') in process "'.$resultProcess['PRO_TITLE'].'"');
     break;
 case 'addSubProcess':
     $sOutput = $oProcessMap->addSubProcess($oData->uid, $oData->position->x, $oData->position->y);
     $sOutputAux = G::json_decode($sOutput);
     $sOutputAux = (array)$sOutputAux;
     G::auditLog('AddSubProcess','Add new sub process ('.$sOutputAux['uid'].') in process "'.$resultProcess['PRO_TITLE'].'"');
     break;
 case 'taskColor':
     $oTask->taskColor($oData->pro_uid, $oData->tas_uid);
     break;
 case 'addTaskHidden':
     $sOutput = $oProcessMap->addTaskHidden($oData->uid, $oData->position->x, $oData->position->y);