Answers.Body: <p>Search Builder seems to be broken for this functionality, you may report that as an issue in the issue tracker: <a href="https://issues.civicrm.org/" rel="nofollow noreferrer">https://issues.civicrm.org/</a>. </p>
  
  <p>My understanding is that you want to search within the backend of CiviCRM?
  Using the API is currently probably the cleanest way of performing the search and adding them at once by using the Activity.get and chaining it with GroupContact.create: </p>
  
  <blockquote>
    <p>cv api Activity.get sequential=1 return="target_contact_id" source_contact_id=11 target_contact_id={"IS NOT NULL":1} options={"limit":0} api.GroupContact.create={"group_id":"5","contact_id":"$value.target_contact_id"} </p>
  </blockquote>
  
  <p>Alternatively you can use the advanced search and search for all activities that have your desired contact as "Added by" and display results as Activity.
  You can then tag all those activities with a temporary tag that can be used for activities. In a second advanced search you can search for contacts that have an activity "With" and the temporary tag and add those contacts to a group.</p>
  
  <p>There is also the activity detail report that will let you filter those contacts the easiest way, but I cant see how to get those contacts into a group.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-04T15:28:17.963Z
Answers.Text: Thank you for the API code. That may be a good solution going forward after I increase my understanding of APIs. I'm hoping to use the native functionality of Civi because I do want to put those contacts in a smart group. I just tried tagging the activities but that seems to put me in a similar place where a search won't be automatically updated.
Answers.UserDisplayName: J. Rolfs
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-04T12:51:32.993Z
Answers.LastActivityDate: 2017-08-04T12:51:32.993Z
Answers.UserDisplayName: Thomas Schüttler
Answers.Body: <p>For Drupal users you can build a View that will deliver that information but won't then provide the Actions options available through Search in CiviCRM (though some actions via VBO are possible)</p>
  
  <p>Without knowing the OP's CMS this answer may not be helpful to them but may be an answer for others looking at this issue who are using Drupal</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-04T00:20:48.573Z
Answers.LastActivityDate: 2017-08-04T00:20:48.573Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I want to search for people who have an activity created by a specific person. Search Builder lists the 'Source Contact ID' field but doesn't populate the information nor filter things appropriately. Advanced Search produces similar results. Is there a way to find this group of contacts based on activity and who created the activity?</p>
  
Tags: <search-results><search-builder>
Title: Filtering activities by Source Contact ID
ThreadText: # Filtering activities by Source Contact ID
  
  (Asked by: username_0 on 2017-08-03)
  
  I want to search for people who have an activity created by a specific person. Search Builder lists the 'Source Contact ID' field but doesn't populate the information nor filter things appropriately. Advanced Search produces similar results. Is there a way to find this group of contacts based on activity and who created the activity?
  
  **Tags:** search-results, search-builder
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-08-04. Score: 2
  
  Search Builder seems to be broken for this functionality, you may report that as an issue in the issue tracker: <https://issues.civicrm.org/>.
  
  My understanding is that you want to search within the backend of CiviCRM?
  Using the API is currently probably the cleanest way of performing the search and adding them at once by using the Activity.get and chaining it with GroupContact.create:
  
  > cv api Activity.get sequential=1 return="target\_contact\_id" source\_contact\_id=11 target\_contact\_id={"IS NOT NULL":1} options={"limit":0} api.GroupContact.create={"group\_id":"5","contact\_id":"$value.target\_contact\_id"}
  
  Alternatively you can use the advanced search and search for all activities that have your desired contact as "Added by" and display results as Activity.
  You can then tag all those activities with a temporary tag that can be used for activities. In a second advanced search you can search for contacts that have an activity "With" and the temporary tag and add those contacts to a group.
  
  There is also the activity detail report that will let you filter those contacts the easiest way, but I cant see how to get those contacts into a group.
  
  > **Comments:**
  > **username_0**: Thank you for the API code. That may be a good solution going forward after I increase my understanding of APIs. I'm hoping to use the native functionality of Civi because I do want to put those contacts in a smart group. I just tried tagging the activities but that seems to put me in a similar place where a search won't be automatically updated.  
  
  ---
  
  ### Answer by username_2 on 2017-08-04. Score: 0
  
  For Drupal users you can build a View that will deliver that information but won't then provide the Actions options available through Search in CiviCRM (though some actions via VBO are possible)
  
  Without knowing the OP's CMS this answer may not be helpful to them but may be an answer for others looking at this issue who are using Drupal
  
  
  ---
  
  