Documentation

bizproc.activity.update

This method allows to update activity fields. Method parameters are similar to bizproc.activity.add.

Example

function updateActivity1()
{
   var params = {
      'CODE': 'hash',
      'FIELDS': {
         'DOCUMENT_TYPE': '',
         'FILTER': ''
      },
   };

   BX24.callMethod(
      'bizproc.activity.update',
      params,
      function(result)
      {
         if(result.error())
            alert("Error: " + result.error());
         else
            alert("Success: " + result.data());
      }
   );
}


© «Bitrix24», 2001-2024