Implementacion de la notificacion para android y ios
add method add endpoints to api.ini change message in send notification change .pem and conf PM-3587 Cambiar el texto de notificaciones
This commit is contained in:
@@ -508,8 +508,8 @@ class Light
|
||||
\G::LoadClass('wsBase');
|
||||
$ws = new \wsBase();
|
||||
$fields = $ws->derivateCase($userUid, $applicationUid, $delIndex, $bExecuteTriggersBeforeAssignment = false, $tasks);
|
||||
$fields['message'] = trim(strip_tags($fields['message']));
|
||||
$array = json_decode(json_encode($fields), true);
|
||||
$array['message'] = trim(strip_tags($array['message']));
|
||||
if ($array ["status_code"] != 0) {
|
||||
throw (new \Exception($array ["message"]));
|
||||
} else {
|
||||
@@ -1251,5 +1251,26 @@ class Light
|
||||
return $response;
|
||||
}
|
||||
|
||||
public function getInformationDerivatedCase($app_uid, $del_index)
|
||||
{
|
||||
$oCriteria = new Criteria( 'workflow' );
|
||||
$children = array ();
|
||||
$oCriteria->clearSelectColumns();
|
||||
$oCriteria->addSelectColumn( AppDelegationPeer::DEL_INDEX );
|
||||
$oCriteria->addSelectColumn( AppDelegationPeer::PRO_UID );
|
||||
$oCriteria->addSelectColumn( AppDelegationPeer::TAS_UID );
|
||||
$oCriteria->addSelectColumn( AppDelegationPeer::USR_UID );
|
||||
$oCriteria->add( AppDelegationPeer::APP_UID, $app_uid );
|
||||
$oCriteria->add( AppDelegationPeer::DEL_PREVIOUS, $del_index );
|
||||
$oDataset = AppDelegationPeer::doSelectRS( $oCriteria );
|
||||
$oDataset->setFetchmode( \ResultSet::FETCHMODE_ASSOC );
|
||||
$oDataset->next();
|
||||
while ($row = $oDataset->getRow()) {
|
||||
$children[] = $row;
|
||||
$oDataset->next();
|
||||
}
|
||||
return $children;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user