[OPEN-ILS-GENERAL] Conditional hold notification messages

Beth Longwell blongwel at eou.edu
Fri Jul 10 16:14:33 EDT 2020


Michele and Jennifer,

Thanks for the examples - I will give them a try right away.

And thanks for the link to the presentation - I've been waiting for things
to slow down enough to watch the online sessions and this one will
definitely be on the list.

Beth

On Fri, Jul 10, 2020 at 1:53 PM Morgan, Michele <mmorgan at noblenet.org>
wrote:

> Hi Beth,
>
> We have done this for overdue notices but not hold pickup notices. The
> setup should be similar, though.
>
> For hold notices, we have done what Terran suggests, cloning the action
> trigger so there is one for each library. We did this mostly because
> libraries have different start dates for services. One thing to know if you
> clone email triggers, they need to have the check_email_notify parameter,
> which doesn't get copied automatically when cloning.
>
> Here is an example of conditional logic for our overdue notices from a
> presentation I did at the Evergreen Online Conference:
>
> [%- IF target.0.circ_lib.parent_ou.id == 58 -%]
>
> The following item(s) are fourteen days overdue. Please return the item
> below as soon as possible. If you have any questions or concerns about the
> overdue material do not hesitate to contact the library directly. Thank
> you!
>
> Follow us on Facebook, Twitter, or sign up for RPL News email alerts.
> [%- ELSIF target.0.circ_lib.parent_ou.id == 67 -%]
>
> Our records show that the following items are overdue. Please call for
> renewal or return as soon as possible.
> [%- ELSE -%]
>
> Our records indicate the following items are 14 days overdue. Please
> return them as soon as possible. Please call the library if you have any
> questions about this notice.  Thank you.
>
> [%- END -%]
>
> I haven't tested this, but for hold notices, I think the IF would need to
> be  [%- IF hold.pickup_lib == <org unit id> -%]
>
> If you are interested, here is the link to the full presentation from the
> 2020 online conference:
>
>
> https://www.youtube.com/watch?v=7ptdKkeGuBU&list=PLsktT5b82paWzb6R_C_0pJ4pf_eo9xOGJ&index=17&t=0s
>
>
> Hope this is helpful,
> Michele
>
> --
> Michele M. Morgan, Technical Support Analyst
> North of Boston Library Exchange, Danvers Massachusetts
> mmorgan at noblenet.org
>
>
>
> On Fri, Jul 10, 2020 at 3:01 PM Terran McCanna <
> tmccanna at georgialibraries.org> wrote:
>
>> I haven't tried this, but it looks like the easiest thing to do would be
>> to clone your existing one and change the owning library to the branch you
>> wish to have the alternate text for.
>>
>> However, if you want to do an IF statement, you should be able to do that
>> too. I don't have an example based on library ID, but I have one I did
>> based on permission group ID here:
>>
>>
>> https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:notification-wording#new_user_created_welcome_notice
>>
>>
>>
>>
>>
>> Terran McCanna, PINES Program Manager
>> ------------------------------
>>
>> Georgia Public Library Service | University System of Georgia
>>
>> 2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341
>>
>> (404) 235-7138 | tmccanna at georgialibraries.org
>>
>> http://help.georgialibraries.org | help at help.georgialibraries.org
>>
>> <https://www.facebook.com/georgialibraries>
>> <https://www.twitter.com/georgialibs>
>>
>> Join our email list <http://georgialibraries.org> for stories of Georgia
>> libraries making an impact in our communities.
>>
>>
>>
>> On Fri, Jul 10, 2020 at 2:01 PM Beth Longwell <blongwel at eou.edu> wrote:
>>
>>> Evergreen library staff,
>>>
>>> We would like to customize our consortia-wide hold pickup notification
>>> message for a couple libraries. Has anyone added IF logic to their hold
>>> notification for a specific org unit to change the notice text? If so, I
>>> would love to see an example.
>>>
>>> Thanks,
>>>
>>> Beth Ross
>>> Sage Library System
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20200710/8df42907/attachment-0001.html>


More information about the Open-ils-general mailing list