Class: SubjectInteraction
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- SubjectInteraction
- Defined in:
- api/app/models/subject_interaction.rb
Overview
Used to track the process of a single subject trying out for a campaign
A subject during an interaction
- learns about a campaign's objectives via configurable campaign scripts
- (optionally) screening
- rejection
- (optionally) scheduling
- schedule conflict
- confirmation
Interaction Types
That process can be in two distinct interaction_type
- a recruiter reaching out over the phone and reading from a script
- a web interaction through our portal
Prioritize Screening
Provides a way to skip company-level requirements in the subject portal.
dont
(default) - do not skip any reqsconsent_only
- only enforce consent requirements (skipping profile confirmation, required onboardings)skip_everything
- only screen for the campaign
Outcomes
no_outcome
- a "pending" interaction or abandonment by the subjectwrong_number
fax_machine
left_message
no_answer
scheduled
- qualified and scheduled into a sessionterminated
declined
language_barrier
disconnected
busy
asked_to_call_back
schedule_conflict
- qualified, but timing issuesqualified_declined
- qualified, but said no thank youqualified_accepted
- qualified, but in a campaign with scheduling disabled (on the campaign details page)rejected
alternate
unscheduled
- a system outcome that happens whenever a session moves
Class Method Summary collapse
- .campaign_final_outcomes ⇒ Object
- .campaign_qualification_outcomes ⇒ Object
- .no_contact_outcomes ⇒ Object
- .outcomes_with_names ⇒ Object
- .scheduled_or_alternate_outcomes ⇒ Object
- .scheduled_outcomes ⇒ Object
- .sync_immediate_views(recruiting_campaign) ⇒ Object
Instance Method Summary collapse
- #portal_url ⇒ Object
- #progress ⇒ Object
- #recruiting_url ⇒ Object
- #redirect_url_with_outcome ⇒ Object