Create a new entity and set field value With the Rules module, I collect a list of row (text value) from a view, then iterate the list (variable list_item) and add this action:


Create new entity of type xxxx, (variable entity_created);


I add a PHP action that extracts a substring from list_item, convert the substring in a Unix timestamp, and set a field "date" of entity_created.

The rule create only one entity, and not one entity for each item in list_item.

Does anybody know how to create one entity for each item in list_item?
The answer is the one suggested in Creating Entities in a Rules loop creates one first entity only.

After an actions of entity create, or data set, add the "Save entity" Action, and click on the "Force saving immediately" checkbox below on the form. Without selecting the checkbox, the Rules module creates only the first entity.