I have created a node form which has taxonomy vocabulary Application Status with three terms represented as check boxes

Approve Masters
Approve Honours
Rejected

What I am trying to achieve is when you select one of the terms a unique rule for each term sends an email for the term that has been selected in the check box.
I have tried numerous setups but cannot get it to work properly. My current approach is

Event:

After updating existing content of type Online Application Form

After saving a new field collection item

Conditions :

Entity is new

Actions:

Send HTML e-mail

If anybody can give me some good advice on how to achieve this I would be most grateful. To the developers and maintainers of this module thank you for your time and effort great module.

Comments

Subhransu.addweb’s picture

Hope this helps you.

{ "rules_tid" : {
    "LABEL" : "tid",
    "PLUGIN" : "reaction rule",
    "OWNER" : "rules",
    "REQUIRES" : [ "rules" ],
    "ON" : { "node_insert" : [] },
    "IF" : [
      { "entity_has_field" : { "entity" : [ "node" ], "field" : "field_city123" } }
    ],
    "DO" : [
      { "mail" : {
          "to" : "johnnyharpertesting@gmail.com",
          "subject" : "to test",
          "message" : "test rules [node:field-city123]",
          "from" : "johnnyharpertesting1@gmail.com",
          "language" : [ "node:type" ]
        }
      }
    ]
  }
}

For use of above rule you have to create one content type called "tour" with following fields:

Label Machine Name Field type
city field_city123 Term reference

Further, while creating rule please select as follows:

1. In "Conditions" add condition "Entity has field" add city field in it.
2. In "Actions" add action "Send mail"

Let me know if you face any query/concern regarding this.

Thanks!

tr’s picture

Status: Active » Fixed

#1 offered a solution, original poster never responded so assuming that the issue is now fixed.

tr’s picture

Status: Fixed » Closed (fixed)