• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/journal.php
  • Класс: BitrixSaleTradingPlatformVkJournal
  • Вызов: Journal::getCurrentProcess
static function getCurrentProcess($exportId)
{
	$resProfiles = ExportProfileTable::getList(array(
			"filter" => array('=ID' => $exportId),
			"select" => array("PROCESS"),
		)
	);
	$profile = $resProfiles->fetch();

//		if PROCESS empty of set STOP flag - return false
	if (!empty($profile['PROCESS']) && !(array_key_exists('STOP', $profile['PROCESS']) && $profile['PROCESS']['STOP']))
		return $profile['PROCESS'];
	else
		return false;
}