Working with Drupal 8.4.5 and Rules 8.x-3.0-alpha3 and Typed Data 8.x-1.0-alpha1
With Drupal 7 Rules, we may use an user custom field for data comparison (address or vocabulary for example). And it was easy to create the condition
Entity has field with a select list to choose the right field (cf screenshot) :
Now, in Drupal 8 Rules, the procedure has changed and I did not manage to reproduce this simple condition
Entity has field since the Field select list has disappeared and custom fields are hidden in the Data selector suggestions (cf screenshot)
So my question is : how to use my custom field in a Rule (simple data comparison, for example)? What is the new way to write
Surprisingly, the help text within
Entity has field condition says : ...To make entity fields appear in the data selector, you may have to use the condition 'entity has field'...
It seems like an infinite loop to me?
Furthermore, "More useful tips about data selection is available in the online documentation" and there we have documentation about Drupal 7 Rules.
Ultimately, I need to create a Rule in Drupal 8 to automatically give an user role when a new account is saved, depending on a custom field value.
The question below is quite similar.
How to custom field has a value with the Rules module?
EDIT : I found an alternative for my specific need with the module Auto User Role (still in dev version). It seems to work nicely (only when saving a new user, not after editing an user, so the custom field is required at creation)