• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/lib/Debugger/Session/Session.php
  • Класс: BitrixBizprocDebuggerSessionSession
  • Вызов: Session::getLogs
public function getLogs(): array
{
	$workflowIds = [];
	foreach ($this->getWorkflowContexts() as $context)
	{
		$workflowIds[] = $context->getWorkflowId();
	}

	return TrackingTable::getList([
		'filter' => [
			'@WORKFLOW_ID' => $workflowIds,
		],
		'order' => ['ID'],
	])->fetchCollection()->getAll();
}