Answers.Body: <p>Just added a rules action "Unassign contact from group" to the dev release of CiviCRM 2 days ago, along with "Assign contact to group"</p>
  
  <p>This will be in beta7 when it gets released in a couple of weeks, after some new PRs get tested and merged in.</p>
  
  <p>If you have the user object you can use the "Load or Create CiviCRM Contact" action, then use the "Assign Contact to Group" action, to assign the contact one or more groups</p>
  
  <p>This issue had some basic instructions:
  <a href="https://www.drupal.org/node/2854256" rel="nofollow noreferrer">https://www.drupal.org/node/2854256</a></p>
  
  <p>Get the dev version here: <a href="https://www.drupal.org/project/civicrm_entity/releases/7.x-2.x-dev" rel="nofollow noreferrer">https://www.drupal.org/project/civicrm_entity/releases/7.x-2.x-dev</a></p>
  
  <p>or beta7 or above when it comes out...</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-21T15:02:47.110Z
Answers.Text: This looks promising, but on a multilingual site I get an AJAX HTTP error: column not found. I've added details to the Drupal issue page.
Answers.UserDisplayName: Tenz
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-06T00:52:40.190Z
Answers.Text: CiviCRM Entity doesn't support multi-lingual CiviCRM installations at this time, although I believe my answer is the right answer and should be accepted.
Answers.UserDisplayName: jackrabbithanna
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-14T19:17:49.523Z
Answers.Text: I've gotten to the part 'Assign CiviCRM Contact to Group' but am getting stuck at the 'Data Selector' part. What 'Data Selector' values should I be using for these two actions? I'm getting the error 'Fatal error: require_once(): Failed opening required 'civicrm/Contact/BAO/Contact.php' with all the different values I've chosen.
Answers.UserDisplayName: spinsheet
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-14T19:23:37.767Z
Answers.Text: If you want maybe goto chat.civicrm.org, the civicrm entity room, and ping @jackrabbithanna and if possible give me the export code for your rule so I can look at it.
Answers.UserDisplayName: jackrabbithanna
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-23T04:06:52.680Z
Answers.LastActivityDate: 2017-02-23T04:06:52.680Z
Answers.UserDisplayName: jackrabbithanna
Body: <p>It seems like it should be possible to use Civicrm Entity and Rules to remove a contact from a group, but I don't know how to fetch and change the status of the contact in the CiviCRM Group. The best I've managed is setting the "is_active" flag on the group, which isn't helpful.</p>
  
  <p>I've seen this question: <a href="https://civicrm.stackexchange.com/questions/7584/how-can-i-use-drupal-rules-to-remove-a-contact-from-a-group">How can I use Drupal Rules to remove a contact from a group</a>, and I realise doing this is possible using the CiviRules extension, but it is not working (probably because I have civirules 1.3 and can't upgrade because the server runs PHP5.3).</p>
  
Tags: <civicrm-entity><civirules><rules>
Title: How to remove contact from group using CiviCRM Entity and Drupal Rules
ThreadText: # How to remove contact from group using CiviCRM Entity and Drupal Rules
  
  (Asked by: username_0 on 2016-12-01)
  
  It seems like it should be possible to use Civicrm Entity and Rules to remove a contact from a group, but I don't know how to fetch and change the status of the contact in the CiviCRM Group. The best I've managed is setting the "is\_active" flag on the group, which isn't helpful.
  
  I've seen this question: [How can I use Drupal Rules to remove a contact from a group](https://civicrm.stackexchange.com/questions/7584/how-can-i-use-drupal-rules-to-remove-a-contact-from-a-group), and I realise doing this is possible using the CiviRules extension, but it is not working (probably because I have civirules 1.3 and can't upgrade because the server runs PHP5.3).
  
  **Tags:** civicrm-entity, civirules, rules
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-02-23. Score: 2 | Accepted answer
  
  Just added a rules action "Unassign contact from group" to the dev release of CiviCRM 2 days ago, along with "Assign contact to group"
  
  This will be in beta7 when it gets released in a couple of weeks, after some new PRs get tested and merged in.
  
  If you have the user object you can use the "Load or Create CiviCRM Contact" action, then use the "Assign Contact to Group" action, to assign the contact one or more groups
  
  This issue had some basic instructions:
  <https://www.drupal.org/node/2854256>
  
  Get the dev version here: <https://www.drupal.org/project/civicrm_entity/releases/7.x-2.x-dev>
  
  or beta7 or above when it comes out...
  
  > **Comments:**
  > **username_0**: This looks promising, but on a multilingual site I get an AJAX HTTP error: column not found. I've added details to the Drupal issue page.  
  > **username_1**: CiviCRM Entity doesn't support multi-lingual CiviCRM installations at this time, although I believe my answer is the right answer and should be accepted.  
  > **username_2**: I've gotten to the part 'Assign CiviCRM Contact to Group' but am getting stuck at the 'Data Selector' part. What 'Data Selector' values should I be using for these two actions? I'm getting the error 'Fatal error: require_once(): Failed opening required 'civicrm/Contact/BAO/Contact.php' with all the different values I've chosen.  
  > **username_1**: If you want maybe goto chat.civicrm.org, the civicrm entity room, and ping @username_1 and if possible give me the export code for your rule so I can look at it.  
  
  ---
  
  