Administration -> Local Administration -> Notifications / Action Triggers
Filter -> Hook Is hold_request.cancel.staff -> Apply
Double-click the "Hold Cancelled (Staff) User Message" row, but not the hyperlink.
Check Enabled and change Processing Delay to 00:00:00, and then Save.
Retrieve a patron account, go to Holds, Place Hold. Find a title and place a hold on it.
Re-retrieve the patron account and cancel the hold.
On the server as user opensrf (assuming a typical stock setup), manually run:
/openils/bin/action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --run-pending
In the patron account, go to Other -> Triggered Events / Notifications
Click on the Holds tab in the spawned interface. You should see the title you placed a hold on.
I've pushed a branch to collab/ phasefx/ lp1207533- triggered- events- log
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=commitdif f;h=bdf3f1e1d89 3c5af76032b3d74 8d7f9f3087f318
One way to test this is in the staff client:
Administration -> Local Administration -> Notifications / Action Triggers cancel. staff -> Apply
Filter -> Hook Is hold_request.
Double-click the "Hold Cancelled (Staff) User Message" row, but not the hyperlink.
Check Enabled and change Processing Delay to 00:00:00, and then Save.
Retrieve a patron account, go to Holds, Place Hold. Find a title and place a hold on it.
Re-retrieve the patron account and cancel the hold.
On the server as user opensrf (assuming a typical stock setup), manually run: bin/action_ trigger_ runner. pl --osrf-config /openils/ conf/opensrf_ core.xml --run-pending
/openils/
In the patron account, go to Other -> Triggered Events / Notifications
Click on the Holds tab in the spawned interface. You should see the title you placed a hold on.