1. Change loan time-based notices processing to support multiple-item notices.
2. Set userId and triggeringEvent property at the time of creating scheduled notice.
- Use the endpoint implemented in
CIRCSTORE-140to fetch grouped notices. Fetch scheduled notices of the previous day (nextRunTime property).
- Collect necessary context for each notice (item, holdings, loan etc.);
- Convert context to json format to match template for multiple items (
Example of multiple-items notice context: