SHARE
TWEET

Untitled

a guest Jul 17th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. { "rules_show_message_if_contact_is_subtype_student" : {
  2.     "LABEL" : "Show Message if contact is subtype student",
  3.     "PLUGIN" : "reaction rule",
  4.     "OWNER" : "rules",
  5.     "REQUIRES" : [ "civicrm_entity", "rules", "civicrm" ],
  6.     "ON" : { "civicrm_contact_edit" : [] },
  7.     "IF" : [
  8.       { "civicrm_entity_contact_is_subtype" : {
  9.           "civicrm_contact" : [ "civicrm_contact" ],
  10.           "contact_subtype" : "Student"
  11.         }
  12.       }
  13.     ],
  14.     "DO" : [
  15.       { "drupal_message" : { "message" : "Contact of subtype student saved!" } }
  16.     ]
  17.   }
  18. }
RAW Paste Data
Top