Learn Rules with NodeOne, part 17: Calling a VBO from Rules

This is the final part of the Learn Rules with NodeOne screencast series. It shows how to call Views Bulk Operations from Rules, making it possible to perform actions on a whole list of nodes or other objects.

In this screencast you will se how to call a bulk operations view from Rules, and configure settings for the view.

This would for example enable you to:

  • When a user account is deleted, delete all the content created by that user.
  • When a comment is written, notify all who have written comments on the same node.
  • When authorship of a node is changed, also change the authorship of all the nodes referring to it.
  • When an article is unpublished, unpublish all its fact boxes, images and other related content.

As mentioned in the screencast, you should be aware that it is quite easy to perform heavy operations in this way – if you really need to to heavy stuff, make sure to use Batch API (or Job Queue) in Views Bulk Operations.

Still want more? Wow. Then you should check out Rules 2 for Druipal 7 or how to write plugins for Rules – or view the complete list of screencasts in this series. And create your own learning series!