0

I have a rule that I use to create a group node for user when user gets a new role. A group node was created for the user when she got the new role but unfortunately a group keeps getting created for the user whenever she logs in. Not sure of what is going on. How do I fix this? Thanks!

0

What event are you using to trigger the node creation? It sounds like maybe there's a "User has logged in" event somewhere in the chain.

The Rules module can be flakey. (I love it but it drives me crazy sometimes.) If you can't figure it out, you could try to preempt the problem by adding a check to the event where you create the group node to see if a group node already exists before adding one.

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.