How to compare Profile2 field with PCP percentage in drupal 7 while creating Rule? I am using Rules, PCP &amp; Profile2 Module in drupal 7. I want to send mail to those user whose profile is &lt;60%, how to add condition for sending mail? How can i compare the profile2 field with pcp %. I already created a Event &amp; Action. Problem in add contion. Please help. Thanks



I want condition like this i.e. $complete_profile&lt;60. If by using php code then how can i implement.
See Rules Integration for D7 version issue in Profile Complete Percent issue queue. Only condition they implemented is, it seems, "User profile is completed".



Maybe there are additional conditions now. Open this window and see. If condition you want is lacking, you will need to either file a feature request for PCP, or write own custom module, clone "User profile is completed" in it, changing name and switching from =100% (or how they actually implemented it) to &lt;60%.