-
-
Save HyperGlide/5961d6c752f81848e790 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "rules_chk_email_add_4_manually_created_inq_by_sales_exist_yes" : { | |
"LABEL" : "Check if Email Address for Manually Created Inquiry by Sales Already Has An Account if YES Alert Sales", | |
"PLUGIN" : "rule", | |
"REQUIRES" : [ "rules", "commerce" ], | |
"IF" : [ | |
{ "entity_exists" : { | |
"type" : "user", | |
"property" : "mail", | |
"value" : "[data:clients_email-value-raw]" | |
} | |
} | |
], | |
"DO" : [ | |
{ "drupal_message" : { | |
"message" : "This email address already has an account! Please alert a sales manager.", | |
"type" : "warning" | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment