Delete nodes using Rules and VBO

by penname   Last Updated November 21, 2017 20:07 PM

Rues and VBO are not working as expected to delete nodes. Can someone tell me what I'm missing? Thank you.

What I have:

  1. 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.)

  2. A Rules Action set which: Rules Action Set

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".

  1. 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.



Related Questions


Bulk delete field collection items

Updated April 29, 2015 21:03 PM

Clone nodes and change fields with Rules and VBO

Updated May 20, 2015 20:03 PM

Copy filefield image to different filefield field

Updated April 21, 2015 21:03 PM

How does Rules integrate with VBO and vice versa?

Updated August 24, 2016 08:04 AM