[open-ils-commits] [GIT] Evergreen ILS branch rel_2_8 updated. 5ccc21cc4b4c1970ca352870e3cd3750913af1bd
Evergreen Git
git at git.evergreen-ils.org
Tue Jun 23 11:12:35 EDT 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_8 has been updated
via 5ccc21cc4b4c1970ca352870e3cd3750913af1bd (commit)
from 4be3446b25ad2e8e51c1f20c82c3238b7625db45 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5ccc21cc4b4c1970ca352870e3cd3750913af1bd
Author: Josh Stompro <stomproj at larl.org>
Date: Tue Apr 28 08:16:54 2015 -0500
Docs: Update action trigger docs to add missing fields.
Rename heading to "Notifications / Action Trigger" so it matches
the staff client admin menu.
Signed-off-by: Josh Stompro <stomproj at larl.org>
diff --git a/docs/admin/actiontriggers.txt b/docs/admin/actiontriggers.txt
index 7d125e7..08df5a9 100644
--- a/docs/admin/actiontriggers.txt
+++ b/docs/admin/actiontriggers.txt
@@ -1,7 +1,7 @@
-Action Triggers
----------------
+Notifications / Action Triggers
+-------------------------------
-indexterm:[action triggers, event definitions]
+indexterm:[action triggers, event definitions, notifications]
Action Triggers give administrators the ability to set up actions for
specific events. They are useful for notification events such as hold notifications.
@@ -37,7 +37,13 @@ Table 1: Action Trigger Event Definitions
| <<reactors, Reactor>> |Links the action trigger to the Reactor.
| <<validators, Validator>> |The subroutines receive the trigger environment as an argument (see the linked Name for the environment definition) and returns either _1_ if the validator is _true_ or _0_ if the validator returns _false_.
| Event Repeatability Delay |Allows events to be repeated after this delay interval.
+| Failure Cleanup |After an event is reacted to and if there is a failure a cleanup module can be run to clean up after the event.
| Granularity |Used to group events by how often they should be run. Options are Hourly, Daily, Weekly, Monthly, Yearly, but you may also create new values.
+| Max Event Validity Delay |Allows events to have a range of time that they are valid. This value works with the *Processing Delay* to define a time range.
+| Opt-In Settings Type |Choose which User Setting Type will decide if this event will be valid for a certain user. Use this to allow users to Opt-In or Opt-Out of certain events.
+| Opt-In User Field |Set to the name of the field in the selected hook's core type that will link the core type to the actor.usr table.
+| Success Cleanup |After an event is reacted to successfully a cleanup module can be run to clean up after the event.
+| Template |A Template Toolkit template that can be used to generate output. The output may or may not be used by the reactor or another external process.
|===============================================
@@ -68,8 +74,9 @@ Creating Action Triggers
[%- USE date -%]
[%- user = target.0.usr -%]
To: [%- params.recipient_email || user.email %]
- From: [%- params.sender_email || default_sender %]
+ From: [%- helpers.get_org_setting(target.home_ou.id, 'org.bounced_emails') || lib.email || params.sender_email || default_sender %]
Subject: Overdue Items Marked Lost
+ Auto-Submitted: auto-generated
Dear [% user.family_name %], [% user.first_given_name %]
The following items are 90 days overdue and have been marked LOST.
-----------------------------------------------------------------------
Summary of changes:
docs/admin/actiontriggers.txt | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list