CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Schedule Reminders for Pending Status Members
Pages: [1]

Author Topic: Schedule Reminders for Pending Status Members  (Read 1944 times)

jgroon

  • I’m new here
  • *
  • Posts: 5
  • Karma: 1
  • CiviCRM version: 4.3.5
  • CMS version: Wordpress
  • MySQL version: 5.1.72
  • PHP version: 5.4
Schedule Reminders for Pending Status Members
November 22, 2013, 12:58:50 pm
Hello All!

I am trying to set up a schedule reminder that will be sent out to all "pending" status members once every two weeks. Despite my best efforts and documentation that suggests this can be done, I can't seem to figure it out.

In the documentation: (http://book.civicrm.org/user/current/email/scheduled-reminders/) it states: "by sending emails to members that are pending with details of the steps they need to take to become approved members." This actually is exactly what I would like to do. Is this still possible, or has this possibility fallen by the wayside?

Thanks!

Jason

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Schedule Reminders for Pending Status Members
November 22, 2013, 02:37:53 pm

"pending" status for what object?

are you talking about groups? The schedule reminder is taking more about "pending status" in activities. I suspect the doc should make that more clear and explicit

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

jgroon

  • I’m new here
  • *
  • Posts: 5
  • Karma: 1
  • CiviCRM version: 4.3.5
  • CMS version: Wordpress
  • MySQL version: 5.1.72
  • PHP version: 5.4
Re: Schedule Reminders for Pending Status Members
November 22, 2013, 02:59:08 pm
Specifically I was looking for a way to send reminders to people whose membership status is still "pending" due to the fact that they selected the "pay later" option for membership dues and have not yet sent in payment.

I have created a "smart" contact group and have been able to manually send emails to this group, but was wondering if there was a way to automate the process using the schedule reminders?

Thanks!

Jason

jgroon

  • I’m new here
  • *
  • Posts: 5
  • Karma: 1
  • CiviCRM version: 4.3.5
  • CMS version: Wordpress
  • MySQL version: 5.1.72
  • PHP version: 5.4
Re: Schedule Reminders for Pending Status Members
November 25, 2013, 01:04:34 pm
From the CiviCRM Documentation:

Quote
Using scheduled reminders for Memberships

You can set up emails to be sent out to members based on various characteristics of their membership, including the membership type and status. As well as sending out renewal reminder letters and "sorry you are leaving" emails, you could potentially use this functionality to support membership approval workflows, by sending emails to members that are pending with details of the steps they need to take to become approved members.

The portion in italics is exactly what I am trying to accomplish. So far I have set up a smart group to include only those with "pending" membership status. I have created a schedule reminder to send to this smart group with instructions to complete their membership, however, it would appear that since those with a "pending" membership status don't have a membership start date, it is not possible to actually send the reminder.

Am I totally missing something, or is this a bit of a catch 22?

Thanks!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Schedule Reminders for Pending Status Members
November 25, 2013, 03:05:41 pm
I don't think you're missing anything. Pretty sure this is an error in the documentation - especially since there's currently no explicit support for an approval workflow on memberships.  ???

That said, I think there might be a solution with a small changed in the Activity type filter currently in place on that form. I'm thinking that if the reminder 'Entity' is Activity, AND the code was tweaked so that the  'Membership Signup' activity is included in the list of activity types, that you could combine that with your Smart Group of Pending memberships (Recipients -> Limit To Group).

If you have a test site and want to experiment with this, change line 78 in CRM/Core/BAO/ActionSchedule.php from this:

    $activityType = CRM_Core_PseudoConstant::activityType(FALSE) + CRM_Core_PseudoConstant::activityType(FALSE, TRUE);

to this:

    $activityType = CRM_Core_PseudoConstant::activityType(FALSE) + CRM_Core_PseudoConstant::activityType(TRUE, TRUE);

You'll then have a bunch more activity types including the Membership Signup activity - and you can experiment.

Going forward, I don't see a big benefit in hiding those 'system generated' activity types from the list - so we could consider making this core change if this makes your flow possible. (Then fix the documentation :-) ).
Protect your investment in CiviCRM by  becoming a Member!

jgroon

  • I’m new here
  • *
  • Posts: 5
  • Karma: 1
  • CiviCRM version: 4.3.5
  • CMS version: Wordpress
  • MySQL version: 5.1.72
  • PHP version: 5.4
Re: Schedule Reminders for Pending Status Members
November 25, 2013, 07:49:14 pm
Awesome!

I will give that a try and report back.

Thanks!

Jason

jgroon

  • I’m new here
  • *
  • Posts: 5
  • Karma: 1
  • CiviCRM version: 4.3.5
  • CMS version: Wordpress
  • MySQL version: 5.1.72
  • PHP version: 5.4
Re: Schedule Reminders for Pending Status Members
November 26, 2013, 09:21:20 am
Worked like a charm! Made the one code change Dave suggested and then set it up as follows:

In scheduled reminders, I selected "Activity" --> "Membership Signup" --> "Completed"

Set the reminder to go out 2 weeks after "Activity Date Time" and repeat every 2 weeks after.

Then, I limited recipients to the smart group containing only contacts with a pending membership status, and away we go -- A reminder sent out every two weeks to members who have registered, but not yet sent in their membership dues!

Once I had all of the appropriate scheduled jobs enabled, it worked perfectly on my test site and live site!

Thanks!!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Schedule Reminders for Pending Status Members
November 26, 2013, 05:52:02 pm
Cool - glad it worked. I've created an issue to 'fix' this in core for 4.5:

http://issues.civicrm.org/jira/browse/CRM-13842
Protect your investment in CiviCRM by  becoming a Member!

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Schedule Reminders for Pending Status Members
May 29, 2014, 02:37:29 pm
@dgg
Given this is such a small tweak, if there is going to be a 4.4.6 is it something that could be added to that.  Seems like 4.5 is a long time coming and it is a very useful change.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Schedule Reminders for Pending Status Members
June 02, 2014, 11:25:28 am
Joanne - we're trying to hold the line on only including critical bug fixes in 4.4 so as to minimize the possibility of regressions. Hopefully folks who need this can wait or patch their own install.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Schedule Reminders for Pending Status Members

This forum was archived on 2017-11-26.