Answers.Body: <p>Martin, the rule in this screen print works perfectly on my installation.
  <a href="https://i.sstatic.net/qOmsv.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/qOmsv.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-30T15:42:00.353Z
Answers.Text: adding it to the target that is. I will try with assignee too
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-30T15:43:17.767Z
Answers.Text: and it works perfectly with an assignee too. So it looks like it does not work in your configuration, which makes it hard to fix. The action in itself works AFAIK
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-30T16:42:28.767Z
Answers.Text: Bummer ... Well it's good that it works. Just wondering why the ... it doesn't work on my site. Are you adding the contact to a group manually or through a webform? I'm using a Civi profile to add the contact (and form content).
Answers.UserDisplayName: Martin
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-30T17:32:01.040Z
Answers.Text: I am adding the contact manually. So it could well be that there is something weird going on in the profile?
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-30T19:30:37.147Z
Answers.Text: Profile adds some basic fields (based on name and address) + captcha tyresoschack.se/images/profile.png and adds it to the group when the form is submitted. That's all it does. I'll do a manual add and check if it the rule does it's thing.
Answers.UserDisplayName: Martin
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-30T19:39:16.490Z
Answers.Text: And yes, adding the contact manually (not through the webform) to the group adds the "Add activity" action to the correct contact - so it something when adding the contact through the profile that messes things up.
Answers.UserDisplayName: Martin
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-31T04:28:03.737Z
Answers.Text: Let us [continue this discussion in chat](http://chat.stackexchange.com/rooms/67929/discussion-between-martin-and-erikh-civicoop).
Answers.UserDisplayName: Martin
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-30T15:41:15.030Z
Answers.LastActivityDate: 2017-10-30T15:41:15.030Z
Answers.UserDisplayName: ErikH - CiviCooP
Answers.Body: <p>Martin, for the <strong>send</strong> <strong>email</strong> action you need the Email API extension: <a href="https://civicrm.org/extensions/e-mail-api" rel="nofollow noreferrer">https://civicrm.org/extensions/e-mail-api</a>.
  Once you install that, the <strong>send</strong> <strong>email</strong> action should be available in CiviRules.</p>
  
  <p>I have just added a rule to my local installation as shown in the screen print, and it works in my installation (CiviCRM 4.7.25, CiviRules 1.13). 
  <a href="https://i.sstatic.net/EqJLi.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/EqJLi.png" alt="enter image description here"></a></p>
  
  <p>I have created a group Web Contacts, and when I add a contact to that group the email is send out.</p>
  
  <p>So it is kind of hard to see what is wrong on your installation? Perhaps a first step is to configure the rule as I have?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-30T12:15:47.237Z
Answers.Text: This works, but it sends the message back to the contact. What I want to do is have a heads-up to someone at the recieving organisation. Adding an "Add activity to contact" action seems to lock everything. Could there be someother  action needed to see the contact added I wonder ... (Add tag adds the contact and adds a tag).
Answers.UserDisplayName: Martin
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-30T12:52:13.200Z
Answers.Text: Add activity to contact should work as well, I can test that. But you are saying you should have a signal within your organisation?  Could you solve it by having the someone at the receiving end remove them from the group in combination with a dashboard of group members?
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-30T12:52:46.483Z
Answers.Text: and you do have an alternative email you can use in the send email action (other than the contact email)
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-30T13:55:08.703Z
Answers.Text: I can tick the box, but I am not getting a field to enter the email address into =(. And yes, your workaround should work, it's somewhat alike to add a tag to newly created contacts. But as people are logged in fairly irregularly it would be better to push a notification at them =)
Answers.UserDisplayName: Martin
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-30T10:30:04.227Z
Answers.LastActivityDate: 2017-10-30T10:36:40.923Z
Answers.LastEditDate: 2017-10-30T10:36:40.923Z
Answers.UserDisplayName: ErikH - CiviCooP
Body: <p>I am having problems with CiviRules preventing a contact being added to a group.</p>
  
  <p>I have a contact form where people request information, and the person is added to group "web contacts". This works nicely and the request is added as a note.</p>
  
  <p>I then add a CiviRule that basically says
  When a contact is added to a group and the group is "web contacts" then add an activity to a contact [Me] to mail the contact of the fact. </p>
  
  <p>This totally prevents people being added to the group "web contacts" at all.</p>
  
  <blockquote>
    <p>Trigger: Contact is added to Group </p>
    
    <p>Linked Condition: Group is Webbkontakter</p>
    
    <p>Linked Action: Add activity to contact    Type: Email Status: Scheduled
    Assignee(s): Martin Skjöldebrand</p>
  </blockquote>
  
  <p>"web contacts" == Webbkontakter above.</p>
  
  <p>Am I having a brainfart or something? Shouldn't this work?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-10-30T09:52:39.873Z
Comments.Text: Martin, I can not see what you have done or why it is not working without looking at your installation. Happy to try the scenario with my local CiviRules installation if you send me some screen prints of what you have done exactly. Additional question: is there a reason for creating an activity, and not using the 'send email' action directly from CiviRules?
Comments.UserDisplayName: ErikH - CiviCooP
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-10-30T10:26:22.987Z
Comments.Text: You find the screen shot here: http://www.tyresoschack.se/images/CiviRules.png
  
  Also, in principle no there is no reason not using "send email" from actions other than I can't find it ...
Comments.UserDisplayName: Martin
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-10-30T17:55:50.253Z
Comments.Text: if you are on Drupal then webform could be a workaround
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-10-31T04:27:34.200Z
Comments.Text: Unfortunately I'm on Joomla.
Comments.UserDisplayName: Martin
Tags: <civirules>
Title: CiviRules prevents adding new contact
ThreadText: # CiviRules prevents adding new contact
  
  (Asked by: username_0 on 2017-10-30)
  
  I am having problems with CiviRules preventing a contact being added to a group.
  
  I have a contact form where people request information, and the person is added to group "web contacts". This works nicely and the request is added as a note.
  
  I then add a CiviRule that basically says
  When a contact is added to a group and the group is "web contacts" then add an activity to a contact [Me] to mail the contact of the fact.
  
  This totally prevents people being added to the group "web contacts" at all.
  
  > Trigger: Contact is added to Group
  >
  > Linked Condition: Group is Webbkontakter
  >
  > Linked Action: Add activity to contact Type: Email Status: Scheduled
  > Assignee(s): username_0 Skjöldebrand
  
  "web contacts" == Webbkontakter above.
  
  Am I having a brainfart or something? Shouldn't this work?
  
  **Tags:** civirules
  
  > **Comments:**
  > **username_1**: username_0, I can not see what you have done or why it is not working without looking at your installation. Happy to try the scenario with my local CiviRules installation if you send me some screen prints of what you have done exactly. Additional question: is there a reason for creating an activity, and not using the 'send email' action directly from CiviRules?  
  > **username_0**: You find the screen shot here: http://www.tyresoschack.se/images/CiviRules.png  Also, in principle no there is no reason not using "send email" from actions other than I can't find it ...  
  > **username_2**: if you are on Drupal then webform could be a workaround  
  > **username_0**: Unfortunately I'm on Joomla.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-10-30. Score: 1
  
  username_0, the rule in this screen print works perfectly on my installation.
  [![enter image description here](https://i.sstatic.net/qOmsv.png)](https://i.sstatic.net/qOmsv.png)
  
  > **Comments:**
  > **username_1**: adding it to the target that is. I will try with assignee too  
  > **username_1**: and it works perfectly with an assignee too. So it looks like it does not work in your configuration, which makes it hard to fix. The action in itself works AFAIK  
  > **username_0**: Bummer ... Well it's good that it works. Just wondering why the ... it doesn't work on my site. Are you adding the contact to a group manually or through a webform? I'm using a Civi profile to add the contact (and form content).  
  > **username_1**: I am adding the contact manually. So it could well be that there is something weird going on in the profile?  
  > **username_0**: Profile adds some basic fields (based on name and address) + captcha tyresoschack.se/images/profile.png and adds it to the group when the form is submitted. That's all it does. I'll do a manual add and check if it the rule does it's thing.  
  > **username_0**: And yes, adding the contact manually (not through the webform) to the group adds the "Add activity" action to the correct contact - so it something when adding the contact through the profile that messes things up.  
  > **username_0**: Let us [continue this discussion in chat](http://chat.stackexchange.com/rooms/67929/discussion-between-username_0-and-username_1-username_1).  
  
  ---
  
  ### Answer by username_1 on 2017-10-30. Score: 1
  
  username_0, for the **send** **email** action you need the Email API extension: <https://civicrm.org/extensions/e-mail-api>.
  Once you install that, the **send** **email** action should be available in CiviRules.
  
  I have just added a rule to my local installation as shown in the screen print, and it works in my installation (CiviCRM 4.7.25, CiviRules 1.13).
  [![enter image description here](https://i.sstatic.net/EqJLi.png)](https://i.sstatic.net/EqJLi.png)
  
  I have created a group Web Contacts, and when I add a contact to that group the email is send out.
  
  So it is kind of hard to see what is wrong on your installation? Perhaps a first step is to configure the rule as I have?
  
  > **Comments:**
  > **username_0**: This works, but it sends the message back to the contact. What I want to do is have a heads-up to someone at the recieving organisation. Adding an "Add activity to contact" action seems to lock everything. Could there be someother  action needed to see the contact added I wonder ... (Add tag adds the contact and adds a tag).  
  > **username_1**: Add activity to contact should work as well, I can test that. But you are saying you should have a signal within your organisation?  Could you solve it by having the someone at the receiving end remove them from the group in combination with a dashboard of group members?  
  > **username_1**: and you do have an alternative email you can use in the send email action (other than the contact email)  
  > **username_0**: I can tick the box, but I am not getting a field to enter the email address into =(. And yes, your workaround should work, it's somewhat alike to add a tag to newly created contacts. But as people are logged in fairly irregularly it would be better to push a notification at them =)  
  
  ---
  
  