- Модуль: rpa
- Путь к файлу: ~/bitrix/modules/rpa/lib/components/itemlist.php
- Класс: BitrixRpaComponentsItemList
- Вызов: ItemList::getDefaultFilterPresets
protected function getDefaultFilterPresets(): array
{
return [
'inWork' => [
'name' => Loc::getMessage('RPA_FILTER_PRESET_IN_WORK'),
'default' => true,
'fields' => [
'STAGE_SEMANTIC' => [
'STAGE_SEMANTIC_WORK',
],
],
],
'my' => [
'name' => Loc::getMessage('RPA_FILTER_PRESET_MY'),
'fields' => [
'CREATED_BY' => Driver::getInstance()->getUserId(),
],
],
'final' => [
'name' => Loc::getMessage('RPA_FILTER_PRESET_FINAL'),
'fields' => [
'STAGE_SEMANTIC' => [
'STAGE_SEMANTIC_SUCCESS',
'STAGE_SEMANTIC_FAIL'
]
],
],
];
}