1

I have a Views of users (friends of the current user) and I have added a VBO field to it. The objective is that when an event is created by the current user, their friends receive an email about it.

I created a Rule, and using VBO (release 7.x-3.3), I try to send an email to people. Right now, the loop is not picking up any data, even if the View is working properly. Am I missing something?

PS: The rule first shows a message to confirm that it has been triggered, and I am testing the loop with a status message.

{ "rules_test_loop_triggeredvbo" : {
"LABEL" : "test_loop_triggeredVBO",
"PLUGIN" : "reaction rule",
"OWNER" : "rules",
"REQUIRES" : [ "rules", "views_bulk_operations" ],
"ON" : { "node_insert--event" : { "bundle" : "event" } },
"DO" : [
  { "drupal_message" : { "message" : "Rule when event is created is TRIGGERED" } },
  { "views_bulk_operations_action_load_list" : {
      "USING" : {
        "view" : "clone_of_profile_friends|page",
        "args" : "[site:current-user]"
      },
      "PROVIDE" : { "entity_list" : { "entity_list" : "A list of entities" } }
    }
  },
  { "LOOP" : {
      "USING" : { "list" : [ "entity-list" ] },
      "ITEM" : { "list_item" : "Current list item" },
      "DO" : [
        { "drupal_message" : { "message" : "User has friend:  [list-item:name]" } }
      ]
    }
  }
]
  }
}
  • I am using 7.x-3.3... – Pierre_colin Aug 8 '17 at 13:59
0

Have a look at these VBO issues:

Since you're using the 7.x-3.3 release of VBO, I recommend you retry your scenario with at least the 7.x-3.4 release. However, as per this comment you might only get it to work using the latest DEV version of VBO.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.