Trying to understand the execution order of rules

Events happening in the community are now at Drupal community events on www.drupal.org.
rachel_norfolk's picture

Hi,

I have created two rules that are fired as part of the new user registration process. I am using the nodeprofile module to add a simple option field to the registration form that the user chooses whether to indicate they are a healthcare professional and then i look at this field and add them to a "HCP" role if they have answered yes.

I'm also using the pre-defined rule that comes as part of the nodeprofile module to redirect the new user to a new healthcare professional only profile node that only those with the HCP role have rights to complete. I have added a condition to the rule to only forward people here IF they are a member of the HCP role.

It seem that, whatever I do, the redirection rule is executed before the add-role rule. I need them the oter way around.

Any ideas?

Thanks

Comments

Have you tried to adjust the

el_reverend's picture

Have you tried to adjust the weight in each of the rules?

May I ask how you check if that field is filled out?

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: