Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRM-20811 CIVICRM-167 Schedule Reminders uses mixed terminology for Active state #10602

Merged
merged 1 commit into from
Mar 19, 2018

Conversation

agileware
Copy link
Contributor

Simple PR to make CiviCRM easier to understand for new users.

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

@agileware
Copy link
Contributor Author

@seamuslee001 would you mind reviewing when you are free?

@seamuslee001
Copy link
Contributor

Sure, is the idea here to not worry about SMS v Email just that scheduled reminder is active?

@agileware
Copy link
Contributor Author

@seamuslee001 yes, just that scheduled reminder is active

@agileware
Copy link
Contributor Author

What are the chances of getting this PR merged?

@totten
Copy link
Member

totten commented Jul 10, 2017

FWIW, the original design anticipated that the scheduling mechanism would be useful with several triggers (besides sending a basic email). You'd want to run the scheduling logic (querying various date fields; flagging records that have been visited; etc) but skip the email logic -- instead, maybe fire a hook, fire CiviMail, ping a web-service, or execute some custom logic.

But... I think your interpretation is probably more accurate... if you set is_active=0, then it looks like the logic in CRM/Core/BAO/ActionSchedule.php will basically ignore the scheduled-reminder (as suggested by skimming processQueue(), buildRecipientContacts() and sendMailings() in ).

There was a project/extension from Veda which did something about sending scheduled reminders in a different way. I don't remember how it worked, but might ping @veda-consulting @deepak-srivastava to see if the change is consistent with their approach.

@agileware
Copy link
Contributor Author

@totten thanks for reviewing and providing feedback

@jusfreeman
Copy link
Contributor

Still interested in getting this PR reviewed and committed. Anyone happy to support this PR?

@eileenmcnaughton
Copy link
Contributor

I'm going to merge this - it makes sense to me as being clearer

@eileenmcnaughton eileenmcnaughton merged commit f0fa15e into civicrm:master Mar 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants