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) »
  • Scheduled Reminders one stopped
Pages: [1]

Author Topic: Scheduled Reminders one stopped  (Read 600 times)

johnd

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
    • John Derry
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7
  • MySQL version: -
  • PHP version: -
Scheduled Reminders one stopped
September 01, 2014, 08:19:36 pm
We have about 30 scheduled membership reminders setup and working well on 4.4.3. Except two just stopped working.

While all the others continue to work, both of the failed reminders were set for 1 month after membership expiration date and they both stopped working after 31 July 2014.

I checked the Scheduled Jobs log and mail is otherwise all working.

So I deleted the two that didn't work and re-created them from scratch, this time with 30 days instead of 1 month after membership expiration. They are still the only reminders that won't send.

There is no limitation group used.

The template contains basic HTML and one external image.

What should I look into next?

johnd

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
    • John Derry
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7
  • MySQL version: -
  • PHP version: -
[solved]: Scheduled Reminders one stopped
October 21, 2014, 04:40:23 pm
Scheduled reminders started working again in our case (CiviCRM 4.4.3) once we removed the membership status of "Grace".

So, we knew that scheduled reminders must exclude subscriptions marked 'Deceased', 'Cancelled' and 'Pending'... but they also exclude 'Grace' - in our use case, this was a bug, not a feature.

See also: https://issues.civicrm.org/jira/browse/CRM-12219

Also, the documentation has a few contradictions:
- Is says memberships statuses can be selected, I can't do this even on the demo site
- It gives a membership reminder example using 'Pending', which I understand won't work

http://book.civicrm.org/user/current/email/scheduled-reminders/

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Scheduled Reminders one stopped
October 21, 2014, 05:05:47 pm
That seems like a bug to me too - presumably it is excluding it's not excluding by name but because of some 'feature' of that status - what does your membership_status table look like (if you can export as a format that will paste in here in a readable way)
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

ojkelly

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7
Re: Scheduled Reminders one stopped
October 21, 2014, 06:25:21 pm
H Eileen,

Here's the table as it is currently. Grace is disabled in this table. When it was enabled the only difference was
Code: [Select]
is_active = 1
I'm inclined to think the issue is that Grace status
Code: [Select]
is_current = 0might have been causing the issue. But I have not delved into the code of scheduled jobs to find out more.


idnamelabelstart_eventstart_event_adjust_unitstart_event_adjust_intervalend_eventend_event_adjust_unitend_event_adjust_intervalis_current_memberis_adminweightis_defaultis_activeis_reserved
1NewNewjoin_dateNULLNULLjoin_datemonth3101010
2CurrentCurrentstart_dateNULLNULLend_dateNULLNULL102110
3GraceGraceend_dateNULLNULLend_datemonth4003000
4ExpiredExpiredend_datemonth4NULLNULLNULL004010
5PendingPendingjoin_dateNULLNULLjoin_dateNULLNULL005011
6CancelledCancelledjoin_dateNULLNULLjoin_dateNULLNULL006010
7DeceasedDeceasedNULLNULLNULLNULLNULLNULL017011
8On holdOn holdjoin_dateNULLNULLjoin_dateNULLNULL008010

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Scheduled Reminders one stopped
October 21, 2014, 07:40:57 pm
I think that if Grace is inactive you have no valid status between the end date & 4 months later when expired kicks in looking at the above table
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Scheduled Reminders one stopped
October 21, 2014, 09:59:15 pm
@johnd
You are right that the membership status is not something you can select if you choose the Entity membership and I will remove that from the documentation.

However, the example for sending a reminder to people with a pending membership is valid. As stated, it runs off the activity entity not the membership entity.

@ojkelly
I suspect in you are right in assuming that is_current = 0 for the Grace status caused your problem.  We have scheduled reminders going successfuly to members with the status Grace but we have is_current = 1 for our grace status.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Scheduled Reminders one stopped

This forum was archived on 2017-11-26.