I am currently working on a site that uses the auto assign role module, rules module and pageroute module. The user is able to select the type of role they want on the registration page (with a drop-down) and based on that role selection I want to redirect them to a specific page route.
In the rules module I set up a rule that is triggered after an account is created and am able to specify a page redirect that works. The problem occurs when I add a condition for the user role. For example if a user selects the role "Role A" when signing up, and I have a condition of "User has role" with "Role A" checked, the rule will never trigger. It is almost like the role has not yet been applied when the rule checks the condition. After the account is created I look and the role has been set but the condition for "User has role" is never met.
I hope that makes sense and would be happy to further clarify or give some more examples.
Read »








