Drupal 8 Rules - Content Type

by Lisa Huffman   Last Updated December 08, 2017 16:07 PM

I'm trying to create a rule (using the Rules module 8.x-3.x-dev) to send an email when someone creates content that is of the type Announcement or Article, but I can't seem to get the event to trigger properly. It's sending an email for every node that is created. Can anyone help with the proper method of setting the content type? My rule is as follows:

After saving new content (rules_entity_insert:node)

Condition: Node is of type

Node Value: @node.node_route_context:node

Content Type Value: Announcement Article

Tags : 8 rules


Related Questions


Clone nodes and change fields with Rules and VBO

Updated May 20, 2015 20:03 PM