Documentation

bizproc.activity.log

bizproc.activity.log records data in the workflow log.

Parameter Description
EVENT_TOKEN Unique key, required to be used when sending an event to a workflow.
LOG_MESSAGE Messages to be recorded in the log.

Example

var params = {
   event_token: '55c1dc1c3f0d75.78875596|A51601_82584_96831_81132|hsyUws1j4XiwqPqN45eH66CcQtEvpUIP.47dd5d888e8e549d2c984713e12a4268e6e87d0208ca1f093ba1075e77f92e90',
   log_message: 'Please wait for answer!'
};

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

© «Bitrix24», 2001-2024