• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/automation/factory.php
  • Класс: Bitrix\Crm\Automation\Factory
  • Вызов: Factory::isBizprocDesignerSupported
static function isBizprocDesignerSupported(int $entityTypeId): bool
{
	return (
		$entityTypeId === \CCrmOwnerType::Lead
		|| $entityTypeId === \CCrmOwnerType::Deal
		|| $entityTypeId === \CCrmOwnerType::Contact
		|| $entityTypeId === \CCrmOwnerType::Company
		|| $entityTypeId === \CCrmOwnerType::Order
		|| $entityTypeId === \CCrmOwnerType::Quote
		|| $entityTypeId === \CCrmOwnerType::SmartInvoice
		|| \CCrmOwnerType::isPossibleDynamicTypeId($entityTypeId)
	);
}