If end date is added to relationship,the contact should be automatically removed from the specific group. How this can be accomplished?Any suggestions?

2 Answers 2


You can use civicrm "Smart Group" option for that purpose. Like this:

Go to Contact Advanced search, set the relationship type you want as a filter and other filters if you want, like contact type, etc.

After search is complete, select the All X records radio option in "Select Records" field. Then you in Actions dropdown menu Create Smart Group. Smartgroup automatically updates its contacts list based on the criteria you had set.

Hope this helps.

  • 1
    Make sure that 'Relationship Status' is 'Active' in Advanced Search
    – Aidan
    Jun 15, 2018 at 17:01

If smart groups don't do what you need then you could also remove them from a static group with CiviRules

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.