Rues and VBO are not working as expected to delete nodes. Can someone tell me what I'm missing? Thank you.
What I have:
A View with VBO field which successfully selects all nodes of a certain type based on how long ago they were created. (The Preview shows all the desired nodes.)
A. Load a list of entity objects from a VBO View. Obviously the chosen View is the View from step 1 above.
B. Loop through the list of entity objects.
C. Deletes each list item using "Delete entity".
- A Rule which runs on cron and has for its only action the above Action Set (and no conditions).
However, it's not working. I run cron via drush and none of the nodes are deleted.
I have cleared all caches, recreated each part of the process from scratch (i.e. not cloning anything)... but it's still not working.
I have also created a Page display in the View (because the Rules Action set uses the Master display) and I can successfully manually delete the nodes with VBO - it's just not working when used in a Rule/Action Set.
However, the site is already deleting User entities with an identical Views/VBO/Rules/Cron setup.
Has anyone come across this or have any idea what might be wrong? Thanks.