Testing fulfillment notices on the premium sandbox

You can test fulfillment notices on the premium sandbox, with the following caveats:

  • The person(s) receiving the notice have to be in the Allowed Emails table in order for the email to actually be delivered;

  • Scheduled jobs are disabled on the sandbox by default, so you have to go to Admin > Monitor Jobs > Scheduled tab, find the job, and then from “More actions” choose “Run now” to trigger the job.

It’s important to be aware of what letters are used with what jobs.

For courtesy/overdue/lost:

  • There is a setting called switch_to_overdue_and_lost_loan_new_job which should be set to true on both our production and sandbox environments. This setting influences all of this behavior.

  • Ful Overdue And Lost Loan Notification Letter - this letter is used for overdue notice 1, 2, and 3 for long-term loans (day/week/month/fixed). For short term loans, letter is triggered based on due date/time + value of short_loan_overdue_reminder

  • Ful Overdue And Lost Loan Letter - this letter is what is sent when an item or item(s) are declared lost. Note that if switch_to_overdue_and_lost_loan_new_job was set to false, this letter would also be handling

Note - the letter called “Ful Lost Loan Notification Letter” is not used if switch_to_overdue_and_lost_loan_new_job is set to true.

Testing can be difficult to do since you may not know for sure the exact sequence of jobs to create a scenario for an item on loan to your account. If you are able to identify an item where a notice should be sent to a patron that’s not you, go to their user account and add your email address and make it “preferred.” Then run the job. That should result in the notice being delivered to your address and not to the patron.

 

image-20240910-135953.png