Advertisement
wzline

task complete

Oct 4th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. \Bitrix\Main\Loader::includeModule('tasks');
  2. $taskId = 8348; // Можно указать из переменной БП или другим способом
  3. $executiveUserId = 300; // Можно указать из переменной БП или другим способом
  4. $task = new CTaskItem($taskId, $executiveUserId);
  5. $task->complete();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement