Answers.Body: <p>If it is not in the list it does not exist yet :-). As long as the pre hook is used in the group delete it should not be hard to add. Are you in a position to check this and add it?</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-11-06T12:00:56.167Z
Answers.Text: Thank you for the clarification.
  I just tested the hooks hook_civicrm_pre and hook_civicrm_post. Are those the hooks you mean? Interesting is, that both of them show the same results if a group_contact is removed and a group_contact is deleted. So if the CiviRule trigger would depend on those hooks, I would expect, that the trigger would react on both events. But it only reacts on remove and not on delete.
Answers.UserDisplayName: Harald Balluch
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-11-09T08:05:45.133Z
Answers.Text: You would have to check in the Civirules extension to see what happens there. You can start in the civirules.php on the pre (because that is where something should happen on delete) and follow from there?
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-30T17:05:47.407Z
Answers.LastActivityDate: 2020-10-30T17:05:47.407Z
Answers.UserDisplayName: ErikH - CiviCooP
Body: <p>The trigger &quot;Contact is removed from Group&quot; doesn't fire if the groupcontact is deleted (and not removed). Is there a trigger, that can be used to react on the deletion of a groupcontact?</p>
  
Tags: <civirules>
Title: CiviRules: Is there a trigger that can be used if a groupcontact is deleted?
ThreadText: # CiviRules: Is there a trigger that can be used if a groupcontact is deleted?
  
  (Asked by: username_0 on 2020-10-30)
  
  The trigger "Contact is removed from Group" doesn't fire if the groupcontact is deleted (and not removed). Is there a trigger, that can be used to react on the deletion of a groupcontact?
  
  **Tags:** civirules
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-10-30. Score: 0 | Accepted answer
  
  If it is not in the list it does not exist yet :-). As long as the pre hook is used in the group delete it should not be hard to add. Are you in a position to check this and add it?
  
  > **Comments:**
  > **username_0**: Thank you for the clarification. I just tested the hooks hook_civicrm_pre and hook_civicrm_post. Are those the hooks you mean? Interesting is, that both of them show the same results if a group_contact is removed and a group_contact is deleted. So if the CiviRule trigger would depend on those hooks, I would expect, that the trigger would react on both events. But it only reacts on remove and not on delete.  
  > **username_1**: You would have to check in the Civirules extension to see what happens there. You can start in the civirules.php on the pre (because that is where something should happen on delete) and follow from there?  
  
  ---
  
  