# Changes to NotificationUpdate 7.7 (and possible ealier)

**URL:** https://forum.innovativeusers.org/t/changes-to-notificationupdate-7-7-and-possible-ealier/2186
**Category:** Polaris
**Created:** [January 31, 2025, 5:30pm UTC](https://forum.innovativeusers.org/t/changes-to-notificationupdate-7-7-and-possible-ealier/2186 "2025-01-31T17:30:31Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![wesochuck](https://forum.innovativeusers.org/user_avatar/forum.innovativeusers.org/wesochuck/32/499_2.png) [@wesochuck](https://forum.innovativeusers.org/u/wesochuck)
#### Post date: [January 31, 2025, 5:30pm UTC](https://forum.innovativeusers.org/t/changes-to-notificationupdate-7-7-and-possible-ealier/2186/1 "2025-01-31T17:30:31Z")

</div>

We noticed that NotificationUpdate Polaris API (PAPI) in Polaris 7.7 functions differently than it did in 7.4 regarding hold notices.

Previously, if you updated hold notices outside the scheduled SQL Hold Notice Processing job time, the API would remove the notice from the queue AND update the patron account to show the notices as delivered. Now, if you’re delivering notices **outside** the SQL Hold Notices Job processing hours the API removes the notices from the queue with **out** updating the patron account. This is because the NotificationUpdate API now looks for the hold notice in two places whereas previously it only looked for it in one.

That second location is updated by the SQL Hold Notices Job, so as long as your process follows closely after that job finishes, you should be fine. The notices will always get removed from the queue no mater what, but the patron record will only get updated if the notice were in the two places with the 2nd one being populated by when SQL Hold Notices Job runs.

Reminder of other API changes we’ve observed: [Polaris 7.6+ potentially breaks 3rd party integrations using PAPI](https://forum.innovativeusers.org/t/polaris-7-6-potentially-breaks-3rd-party-integrations-using-papi/2155/)

---

<div class="post-metadata">

### Author: ![wesochuck](https://forum.innovativeusers.org/user_avatar/forum.innovativeusers.org/wesochuck/32/499_2.png) [@wesochuck](https://forum.innovativeusers.org/u/wesochuck)
#### Post date: [February 4, 2025, 2:54pm UTC](https://forum.innovativeusers.org/t/changes-to-notificationupdate-7-7-and-possible-ealier/2186/2 "2025-02-04T14:54:05Z")

</div>

We’re also seeing the you must **always** use the reporting ord ID of system (orgID #1) in all cases or the patron account won’t be updated. If you use the system orgid in the PAPI update, the patron account will still be updated with the reporting org id in the patron record.

---

<div class="post-metadata">

### Author: ![jtenter](https://forum.innovativeusers.org/letter_avatar_proxy/v4/letter/j/c89c15/32.png) [@jtenter](https://forum.innovativeusers.org/u/jtenter)
#### Post date: [February 7, 2025, 4:31pm UTC](https://forum.innovativeusers.org/t/changes-to-notificationupdate-7-7-and-possible-ealier/2186/3 "2025-02-07T16:31:32Z")

</div>

Thanks for sharing this, Wes, it’s good to know about!

I hope you don’t mind a few questions, we’re just strapping in for our own 7.7 rollercoaster ride…

- It’s odd that the hold notices job adjusts something, since both notice jobs execute GenerateHoldNotices, and I wouldn’t expect the email mgr or export steps to factor in. Do you know what the specific step or action is that’s different? I’m wondering if it can be worked-around by adding it into the main Notices job…
- Also, do you have a sense of how long the time period is after the Hold Notices job that the write-back will update the patron record?
- Lastly, am I right in understanding that the Reporting Org ID needs to be #1 only for 1st hold notices? Or does that affect others, as well?

---

<div class="post-metadata">

### Author: ![wesochuck](https://forum.innovativeusers.org/user_avatar/forum.innovativeusers.org/wesochuck/32/499_2.png) [@wesochuck](https://forum.innovativeusers.org/u/wesochuck)
#### Post date: [February 7, 2025, 4:47pm UTC](https://forum.innovativeusers.org/t/changes-to-notificationupdate-7-7-and-possible-ealier/2186/4 "2025-02-07T16:47:10Z")

</div>

I’ll bounce these over to our dev @mfields to see if he can provide more definitive answers.

---

<div class="post-metadata">

### Author: ![mfields](https://forum.innovativeusers.org/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@mfields](https://forum.innovativeusers.org/u/mfields)
#### Post date: [February 7, 2025, 6:29pm UTC](https://forum.innovativeusers.org/t/changes-to-notificationupdate-7-7-and-possible-ealier/2186/5 "2025-02-07T18:29:39Z")

</div>

I haven’t had a chance to fully chase this all the way through, but the gist seems to be this:

`PAPI_NotificationUpdate` now uses `Notices_WriteNotificationLog` to write the notice history when the update’s `ReportingOrgID` is not `1`. This new stored procedure uses `HoldNotices` instead of `NotificationQueue`. It does still join in `NotificationQueue` though, which I misread during my initial go-over of all this and that’s where the ‘needs data in two places not one’ comes from.

In the previous version, the phone notice history was always written using `Notices_WriteNotificationHistoryForTelephony` which only uses `NotificationQueue`. We can still get the update method to call `Notices_WriteNotificationHistoryForTelephony` in the new version, but only by setting `ReportingOrgID` to `1`.

In theory `Notices_WriteNotificationLog` should be writing history, assuming the entry exists in `HoldNotices`, but that seems to not be happening most of the time for a still unknown reason. It does seem to work in some scenarios though, but I’m still unsure of the specifics.

For some reason during my first go through of this I was also mistakenly thinking `HoldNotices` would be empty during times when the hold job hadn’t ran, which is why we wanted to switch our dialout timing. This obviously isn’t the case but would still be relevant if we ever switched back to using the real `ReportingOrgID` in the updates since there are potentially gaps in that table for items trapped between hold job runs.

---

<div class="post-metadata">

### Author: ![wesochuck](https://forum.innovativeusers.org/user_avatar/forum.innovativeusers.org/wesochuck/32/499_2.png) [@wesochuck](https://forum.innovativeusers.org/u/wesochuck)
#### Post date: [February 7, 2025, 6:35pm UTC](https://forum.innovativeusers.org/t/changes-to-notificationupdate-7-7-and-possible-ealier/2186/6 "2025-02-07T18:35:06Z")

</div>

> [@jtenter](#):
>
> Lastly, am I right in understanding that the Reporting Org ID needs to be #1 only for 1st hold notices? Or does that affect others, as well?

For simplicity I would probably just make it org id #1 always since it seems to put the real reporting org ID in the final record regardless of what it in the API call.

Also, it seemed that this behavior was specific only to the 1st hold notice, but we didn’t have tons of time to pick apart all the nuances.

---

<div class="post-metadata">

### Author: ![jtenter](https://forum.innovativeusers.org/letter_avatar_proxy/v4/letter/j/c89c15/32.png) [@jtenter](https://forum.innovativeusers.org/u/jtenter)
#### Post date: [February 12, 2025, 3:16pm UTC](https://forum.innovativeusers.org/t/changes-to-notificationupdate-7-7-and-possible-ealier/2186/7 "2025-02-12T15:16:48Z")

</div>

Thanks for all this added details, Mike, they’re helpful! Under the weather at the moment, but I’ll wrap my head around it when I’m back. Knowing we both use MessageBee, I wonder if they’re already treating some of these changes as part of any Polaris-using customer moving to 7.7…

---

<div class="post-metadata">

### Author: ![wesochuck](https://forum.innovativeusers.org/user_avatar/forum.innovativeusers.org/wesochuck/32/499_2.png) [@wesochuck](https://forum.innovativeusers.org/u/wesochuck)
#### Post date: [February 12, 2025, 3:24pm UTC](https://forum.innovativeusers.org/t/changes-to-notificationupdate-7-7-and-possible-ealier/2186/8 "2025-02-12T15:24:35Z")

</div>

> [@jtenter](#):
>
> Knowing we both use MessageBee, I wonder if they’re already treating some of these changes as part of any Polaris-using customer moving to 7.7

The problems we were having with notice updates was with our homegrown telephone notification system. So, I wouldn’t infer anything about MessageBee’s processes from this thread.

Hope you feel better soon!
