+ $this->fixtures['sched_on_custom_date'] = [
+ 'name' => 'sched_on_custom_date',
+ 'title' => 'sched_on_custom_date',
+ 'body_html' => '<p>Send reminder before 1 hour of custom date field</p>',
+ 'body_text' => 'Send reminder on custom date field',
+ 'subject' => 'Send reminder on custom date field',
+ 'mapping_id' => 6,
+ 'entity_value' => 'custom_' . $customDateField['id'],
+ 'entity_status' => 2,
+ 'entity' => [
+ 6,
+ ['custom_' . $customDateField['id']],
+ [1],
+ ],
+ 'start_action_offset' => 1,
+ 'start_action_unit' => 'hour',
+ 'start_action_condition' => 'before',
+ 'start_action_date' => 'date_field',
+ 'record_activity' => 1,
+ 'repetition_frequency_unit' => 'hour',
+ 'end_frequency_unit' => 'hour',
+ 'end_action' => 'before',
+ 'end_date' => 'date_field',
+ 'custom_field_name' => 'custom_' . $customDateField['id'],
+ ];