[OPEN-ILS-GENERAL] Action Trigger using ApplyPatronPenalty
Bill Erickson
berick at esilibrary.com
Tue Jan 29 08:28:53 EST 2013
Hi Martha,
Does the event definition contain a value for Group Field? If so, I
recommend removing the value and seeing of that helps.
-b
On Mon, Jan 28, 2013 at 10:00 AM, Martha Driscoll <driscoll at noblenet.org>wrote:
> We are trying to create an action trigger using the ApplyPatronPenalty
> reactor. The idea is to run an action trigger daily that will look for
> copies that are 42 days overdue and set a penalty we created called
> PATRON_EXCEEDS_LONG_OD. We are using checkout.due as the hook.
>
> Our libraries want to see an alert when a patron has material long
> overdue, but we don't want to set these copies to bills yet because of the
> financial implications.
>
> We are getting an error when the trigger runs:
>
> ApplyPatronPenalty: missing parameters
>
> The event environment consists of:
>
> Field Path Label
> circ_lib context_org
> usr user
>
> The event parameters consist of:
>
> Parameter Name Parameter Value
> standing_penalty PATRON_EXCEEDS_LONG_OD
>
> The parameters that are missing are user and context_org. The penalty
> PATRON_EXCEEDS_LONG_OD is being passed to the reactor.
>
> Has anyone had any success using the ApplyPatronPenalty reactor?
>
> --
> Martha Driscoll
> Systems Manager
> North of Boston Library Exchange
> Danvers, Massachusetts
> www.noblenet.org
>
>
--
Bill Erickson
| Senior Software Developer
| phone: 877-OPEN-ILS (673-6457)
| email: berick at esilibrary.com
| web: http://esilibrary.com
| Equinox Software, Inc. / Your Library's Guide to Open Source
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20130129/8250ae5c/attachment.htm>
More information about the Open-ils-general
mailing list