Answers.Body: <p>Welcome to SE!</p>
  <p>There are a few options. Is this an import to a new system, so can we assume that <em>all</em> employer relationships should be active?  If so, you could do:</p>
  <ul>
  <li>Go to <code>Support &gt; Developer &gt; Api Explorer v4</code></li>
  <li>Select entity: 'Relationship', action: 'update'</li>
  <li>Where: select 'relationship_type_id:name', '=', 'Employee of'</li>
  <li>Values: 'is_active', 'yes'</li>
  <li>Execute</li>
  </ul>
  <p><a href="https://i.sstatic.net/vRWTv.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/vRWTv.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-11T20:22:38.420Z
Answers.Text: Thank you, this might work! I will have to look through and see if there's any reason to think we might have some old employer relationships in there that we don't want to have set as current. Would this impact new imports going forward?
Answers.UserDisplayName: Katie Goff
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-12T08:25:02.440Z
Answers.Text: No, this just changes existing relationships.  When you did the import, did you add them to a new group, or a new tag?
Answers.UserDisplayName: Aidan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-12T19:59:10.013Z
Answers.Text: seems a bit of a gap that there is no feature on Import to let one set an Org to be their Current Employer
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-13T13:15:58.260Z
Answers.Text: Yes, I added them to a group that already existed, and I gave them a new tag just for that day's import.
Answers.UserDisplayName: Katie Goff
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-11T20:15:29.387Z
Answers.LastActivityDate: 2022-07-11T20:15:29.387Z
Answers.UserDisplayName: Aidan
Body: <p>I have over 1,000 contacts which I imported along with an employer relationship, but these employers aren't showing up as &quot;Current Employer&quot; on the contact summary page because the relationship wasn't marked as current when it was created. I know how to fix this on an individual level, but not how to fix them all at once. Is there a way for me to make it so that all of these relationships are updated to &quot;current employer&quot; in a batch or mass update process, or do I have to do each one individually? Is there a way to indicate that this is the current employer when running an import?</p>
  <p>CiviCRM 5.49.5</p>
  
Tags: <import><relationships>
Title: How do I set the Organization from the Employer Relationship as a contact's Current Employer for multiple contacts at once?
ThreadText: # How do I set the Organization from the Employer Relationship as a contact's Current Employer for multiple contacts at once?
  
  (Asked by: username_0 on 2022-07-11)
  
  I have over 1,000 contacts which I imported along with an employer relationship, but these employers aren't showing up as "Current Employer" on the contact summary page because the relationship wasn't marked as current when it was created. I know how to fix this on an individual level, but not how to fix them all at once. Is there a way for me to make it so that all of these relationships are updated to "current employer" in a batch or mass update process, or do I have to do each one individually? Is there a way to indicate that this is the current employer when running an import?
  
  CiviCRM 5.49.5
  
  **Tags:** import, relationships
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-07-11. Score: 0 | Accepted answer
  
  Welcome to SE!
  
  There are a few options. Is this an import to a new system, so can we assume that *all* employer relationships should be active? If so, you could do:
  
  * Go to `Support > Developer > Api Explorer v4`
  * Select entity: 'Relationship', action: 'update'
  * Where: select 'relationship\_type\_id:name', '=', 'Employee of'
  * Values: 'is\_active', 'yes'
  * Execute
  
  [![enter image description here](https://i.sstatic.net/vRWTv.png)](https://i.sstatic.net/vRWTv.png)
  
  > **Comments:**
  > **username_0**: Thank you, this might work! I will have to look through and see if there's any reason to think we might have some old employer relationships in there that we don't want to have set as current. Would this impact new imports going forward?  
  > **username_1**: No, this just changes existing relationships.  When you did the import, did you add them to a new group, or a new tag?  
  > **username_2**: seems a bit of a gap that there is no feature on Import to let one set an Org to be their Current Employer  
  > **username_0**: Yes, I added them to a group that already existed, and I gave them a new tag just for that day's import.  
  
  ---
  
  