diff --git a/app/routines/update_salesforce_assignable_fields.rb b/app/routines/update_salesforce_assignable_fields.rb index 99a78faef..0f5db78e0 100644 --- a/app/routines/update_salesforce_assignable_fields.rb +++ b/app/routines/update_salesforce_assignable_fields.rb @@ -17,6 +17,8 @@ def call(created_after) next if contact_id.nil? contact = OpenStax::Salesforce::Remote::Contact.find(contact_id) + next if contact.nil? + contact.assignable_interest = 'Fully Integrated' contact.assignable_adoption_date = external_id.min_created_at contact.save!