Skip to main content
1 of 6

Using VBO and Rules to auto-delete entityform submissions

I'm trying to set a reaction rule that checks for previous submissions from a user and deletes them when new form data is submitted.

I had success getting the fields to delete using the Fetch action, but I only want to pull submissions from the current user, and I haven't quite figured out the right component rule set to make this work yet.

Whenever I introduce VBO to the equation, the rule stops deleting. The components work. The VBO works on itself. They just don't play nice together. I've tried every possible configuration under the sun (I think), but so far nothing works.

I've read a few older issues that suggest that VBO cannot be used to delete entityform submissions. Most of the replies that say you can actually address nodes, but don't work for entityforms specifically.

So, my question is: can I delete entityform submissions via VBO in rules? If not, should I be looking to do this programmatically instead, or is there another workaround?