I'm using Pete's great way of creating Drupal users by adding a tag, but was wondering (as Michael McAndrew did in the comments on that page) how a different username could be auto-created, e.g. email address or even firstnamelastname. (Presumably the Rule would fail if a duplicate username occurred?)

And bonus question: on the same page Coleman mentioned potentially using Rules to remove the tag and clean up, but I can't work out which action this would be under. Any pointers?

  • Have you had any luck figuring this one out? thanks\ – Yossi Mar 10 '16 at 20:25
  • I used the patch in the answer. It failed on application, so I had to manually apply, but it works. – Tenz Mar 12 '16 at 0:51

There's an unreviewed patch to the CiviCRM Entity module that tackles this.

To clean up and remove a tag, you can easily set up CiviRules to just delete a tag as soon as it's created.

  • 1
    have you tested it and marked it as 'reviewed by community' to help push it along? – petednz - fuzion Nov 18 '15 at 5:13
  • Haven't had time to test it yet! – Tenz Nov 19 '15 at 1:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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