18 $fields = $this->query->get(
'fields');
20 $fields[
'PROVIDER_ID'] = static::ACTIVITY_PROVIDER_ID;
21 $fields[
'PROVIDER_TYPE_ID'] = static::ACTIVITY_PROVIDER_TYPE_ID;
23 $fields[
'START_TIME'] = new \Bitrix\Main\Type\DateTime;
25 $fields[
'PRIORITY'] = static::ACTIVITY_PRIORITY_MEDIUM;
26 $fields[
'DESCRIPTION_TYPE'] = static::CONTENT_TYPE_PLAIN_TEXT;
27 $fields[
'NOTIFY_TYPE'] = static::ACTIVITY_NOTIFY_TYPE_NONE;
28 $fields[
'IS_RETURN_CUSTOMER'] =
'N';
30 $this->query->setValues([
'fields'=>
$fields]);