Thanks to this doc
http://wiki.evergreen-ils.org/doku.php?id=documentation:technical:jsontutorial
I think you want something like (Watch out for the smartquotes, gotta get those
disabled, outlook--), where X is the OU to exclude.
"expire" : {
"context_org":"home_ou",
"filter" :
{ "active":"t",
"deleted":"f" ,
“home_ou”: :{ "!=":X }
}
},
From: Open-ils-general
[mailto:[email protected]] On Behalf Of Josh
Stompro
Sent: Friday, March 4, 2016 9:47 AM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Excluding a single library from consortium
scoped action trigger notice
Brent, you could look at excluding a specific org unit in the
action_trigger_filters.json file.
I’m not that familiar with creating the json query format or I would try to
give you an example. “Home_Lib != Nonconformist_ou”
That may be the simplest way to exclude one OU.
Josh
From: Open-ils-general
[mailto:[email protected]] On Behalf Of Brent
Mills
Sent: Thursday, March 3, 2016 3:00 PM
To: Evergreen Discussion Group
Subject: [OPEN-ILS-GENERAL] Excluding a single library from consortium scoped
action trigger notice
Has anyone had success excluding one org unit from an otherwise consortium
scoped action trigger notice?
We have one library that wants to opt-out of the 30 Day Account Pre-Expiration
Notice, but everyone else would like to keep it. There's probably an easier way
than creating individual notice templates for every library except the one that
wants out...right?
Thank you,
-Brent
--
Brent Mills
Systems Librarian | Sage Library System
email: [email protected]<mailto:[email protected]>
tickets: sagelib.org/support
phone: 541.610.8384