I have a Drupal 7 site, that uses Rules and Quiz. I have a rule that adds a role after the user takes a specific quiz, which work fine. Here are the details of it:
Event
After updating existing content
Conditions
Content is of type
Parameter: Contenido: [node], Content types: Cuestionario
Data comparison
Parameter: Data to compare: [node:nid], Data value: 1985
Actions
Add user role
Parameter: Usuario: [site:current-user], Roles: nivel2
Now I want a similar rule but add the new role only if a specific profile field in the user's profile, has specific content. The field is a selection of certain terms of a certain taxonomy.
So, I've cloned the above (working) rule, and added to it a condition. So that this new rule looks like so:
Event
After updating existing content
Conditions
Data comparison
Parameter: Data to compare: [site:current-user:profile-profile:field-ubicacion, Data value: Provincia de Chaco
Content is of type
Parameter: Contenido: [node], Content types: Cuestionario
Data comparison
Parameter: Data to compare: [node:nid], Data value: 1985
Actions
Add user role
Parameter: Usuario: [site:current-user], Roles: nivel2
Now in this case, this new rule won't work. I.e the role is not added.
Why could this be?