How can I tell to the rule I am writing that the value of region field is the value coming from webform data? I successfully created a webform using the Webform module.

Using Webform Rules I can create a new entity of type user and I fill the requested fields using, for example, [data:name-value-raw] for name, [data:surname-value-raw] for surname, etc...

This is very easy for text fields but I have troubles with text list fields, in my custom user fields I have two text-list fields (region list and country list), I set the same list in the webform.

In the Rules Action "Create a new entity" the Rules UI tells me to set a value for these fields but I'm forced to choose from a value in the list.



If I Switch to data selection I can't find submitted values, so how can I tell to the rule I am writing that the value of region field is the value coming from Webform data?
If I switch to data selection I can't find submitted values, so how can I tell to the rule I am writing that the value of region field is the value coming from webform data?


You can use a technique similar to what is described in my answer to "How to do a data comparison to submitted webform data when using the Rules module?". For short:


Add an extra Rules Action to Add a variable (call it whatever you want), with a value assigned to it equal to your [data:ComponentFieldName-value-raw] (with a data type which equals the data type of your Webform component), and with ComponentFieldName whatever you're using for that region field in your Webform).
In your subsequent Rules Actions you can refer to the value of this variable you just added (that's the clue!).