• Модуль: rpa
  • Путь к файлу: ~/bitrix/modules/rpa/lib/integration/bizproc/taskmanager.php
  • Класс: BitrixRpaIntegrationBizprocTaskManager
  • Вызов: TaskManager::getUserIncompleteTasksForType
public function getUserIncompleteTasksForType(int $typeId, int $userId = null): array
{
	$tasks = $this->getUserIncompleteTasksByType([$typeId], $userId);
	if(isset($tasks[$typeId]) && is_array($tasks[$typeId]))
	{
		return $tasks[$typeId];
	}

	return [];
}