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 CiviMail (Moderator: Piotr Szotkowski) »
  • Automatic mail when Cron updates Member Status
Pages: [1]

Author Topic: Automatic mail when Cron updates Member Status  (Read 690 times)

mcgeehon

  • I post occasionally
  • **
  • Posts: 76
  • Karma: 0
  • CiviCRM version: 4.x
  • CMS version: 7.x
  • MySQL version: 5.x
  • PHP version: 5.2.x
Automatic mail when Cron updates Member Status
March 15, 2013, 11:58:52 pm
I have searched and couldn't find an answer to this question.

Is there a way to automatically send a canned email message to a member when their status changes due to the 'process_membership' job? 

Very simply I automatically set new members to an approval status for a few days while their application is being reviewed.  After a set period of time their status is updated to approved as specified by the Membership Status roles.  We currently have to manually send out an acceptance email to each person when their status changes, and I was hoping there was some way to tie an email to a status change automatically?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Automatic mail when Cron updates Member Status
March 16, 2013, 12:17:44 pm
I'm not aware of a built-in way to do that, but of course you could code it via hooks.

However the better way to do it would be using Rules I think. I'm not sure of where the integration is with that today, however, aside from http://drupal.org/sandbox/eileen/1923028
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Automatic mail when Cron updates Member Status
March 16, 2013, 05:30:53 pm
Not sure it is there yet - took a quick look
You have access to
Rule Event = CiviCRM Membership has been updated
And as a Condition = civicrm-membership:status-id
But I can't see that it can currently specify to act when a Membership status changes from x to y

but i am no expert in Rules (or anything)
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

mcgeehon

  • I post occasionally
  • **
  • Posts: 76
  • Karma: 0
  • CiviCRM version: 4.x
  • CMS version: 7.x
  • MySQL version: 5.x
  • PHP version: 5.2.x
Re: Automatic mail when Cron updates Member Status
March 16, 2013, 08:17:15 pm

I have never used the rules module before but will take a look at it.  So do you think the only limitation is that the civicrm-membership status is not exposed to rules, or is the civicrm-membership:status-id an exposed status value from Civi?


Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Automatic mail when Cron updates Member Status
March 17, 2013, 01:13:32 pm
The current limitation would probably be that the rules integration available currently only offers you conditions based on what you change it to - ie. you can do rules based on when membership is changed to current, but not discern whether it was changed from 'pending' to 'current', or whether it was changed from 'new' to
'current'
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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Automatic mail when Cron updates Member Status

This forum was archived on 2017-11-26.