Add action trigger for email/sms for patron self registration

Bug #1849736 reported by Blake GH on 2019-10-24
This bug affects 6 people
Affects Status Importance Assigned to Milestone

Bug Description

It would be nice if Evergreen could alert when a patron self-registers. It could leverage the AT system and all of today's features like org scoping, tt2 variables including library settings.

Bug 1821093 would be nice to have as well. This bug and that bug do not need to be connected, however the issue of SPAM becomes more of an issue without the captcha.

Blake GH (bmagic) on 2019-10-24
tags: added: actiontrigger patron wishlist
Changed in evergreen:
importance: Undecided → Wishlist
Galen Charlton (gmc) wrote :

Alert whom? The patron placing the registration request? A library staff member? And when should the alert go out? When the patron submits the form? When the pending patron record is converted to a full one?

Blake GH (bmagic) wrote :

Sorry I wasn't clear. The idea would be for the alert to go to the library (an email address for the library or someone at the library responsible for this). Making them aware that there is a pending patron. But the A/T template can be setup to email whatever they want including the patron if they configured the To: address as such. It should go out as often as the cronjob for that A/T granularity is set. A feature for the pending patron becoming a full patron already has an action trigger (I think) au.created.

Terran McCanna (tmccanna) wrote :

Yes, au.created gets triggered whenever creating a new user either from scratch or from the pending registration (it does not differentiate between the two).

I could see the new feature being useful as a way to remind the patron that they need to come in to the library to complete their registration.

In our situation, it wouldn't be useful to email the library that there is a pending registration, but I could imagine that being useful in a library where accounts were created and mailed out without the user needing to come in to the library.

Blake GH (bmagic) wrote :

A patch for your consideration:;a=shortlog;h=refs/heads/user/blake/lp1849736_at_email_self_register

The intention would be to email/text a librarian about the new submission but the template can be customized to notify anyone of course. Including that patron.

Blake GH (bmagic) on 2020-01-06
tags: added: pullrequest
Blake GH (bmagic) on 2020-02-04
Changed in evergreen:
milestone: none → 3.5-alpha
status: New → In Progress
Dawn Dale (ddale) wrote :

I tested this but was not able to tell if it worked or not. I did not receive an email after doing a self registration and importing the record. I put in my email address as the libraries email. Maybe the server is not pushing out the emails??

Jason Stephenson (jstephenson) wrote :

This bug says it is in progress, but no one is assigned to it. Since we've had mixed testing results, I'm going to refrain from pushing it.

Terran McCanna (tmccanna) wrote :

The MOBIUS test server has spam filters in place to require that the sending email is a MOBIUS email address. After realizing that, and after Blake took out a blank line that caused a problem (and force pushed the change to the same branch), I tested it with no problems.

Changed in evergreen:
status: In Progress → Confirmed
Chris Sharp (chrissharp123) wrote :

Pushed to master. Thanks, Blake and Terran!

Changed in evergreen:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers