# Add History to the resolved cases

**URL:** <https://forums.pega.com/t/add-history-to-the-resolved-cases/8050>\
**Category:** General\
**Tags:** data-model, case-management, pega-platform\
**Created:** [August 13, 2024, 8:49pm UTC](https://forums.pega.com/t/add-history-to-the-resolved-cases/8050 "2024-08-13T20:49:16Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![RashmithaM](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@RashmithaM](https://forums.pega.com/u/RashmithaM)\
**Post date:** [August 13, 2024, 8:49pm UTC](https://forums.pega.com/t/add-history-to-the-resolved-cases/8050/1 "2024-08-13T20:49:16Z")

</div>

Hi,

Based on requirement , we want to resolve S- cases based on some conditions .

We forgot to add history while resolving.

Is there any way we can manually add history for a workobject.We did try using History-Add method but it is adding empty record in the table .

Is there any other way we can add history memo to resolved cases?

Thanks,

Rashmitha

---

<div class="post-metadata">

**Author:** ![kammv](https://avatars.discourse-cdn.com/v4/letter/k/a698b9/32.png) [@kammv](https://forums.pega.com/u/kammv)\
**Post date:** [August 14, 2024, 4:27am UTC](https://forums.pega.com/t/add-history-to-the-resolved-cases/8050/2 "2024-08-14T04:27:39Z")

</div>

@RashmithaM Did you try using a savable data page in the respective history- class by setting all the required properties. Any challenges there? this is similar to saving the records using the activity(Page-new, property-Obj-save)

---

<div class="post-metadata">

**Author:** ![RashmithaM](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@RashmithaM](https://forums.pega.com/u/RashmithaM)\
**Post date:** [August 14, 2024, 1:41pm UTC](https://forums.pega.com/t/add-history-to-the-resolved-cases/8050/3 "2024-08-14T13:41:58Z")

</div>

@kammv We tried through activity as you mentioned above but that is adding empty record to the table .

---

<div class="post-metadata">

**Author:** ![Abhishek\_Tripathi](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/abhishek_tripathi/32/14535_2.png) [@Abhishek\_Tripathi](https://forums.pega.com/u/Abhishek_Tripathi)\
**Post date:** [August 14, 2024, 2:45pm UTC](https://forums.pega.com/t/add-history-to-the-resolved-cases/8050/4 "2024-08-14T14:45:46Z")

</div>

@RashmithaM

Which table are you referring here?

pc\_history\_work

pc\_history\_data

Or some Pr\_history table?

---

<div class="post-metadata">

**Author:** ![kammv](https://avatars.discourse-cdn.com/v4/letter/k/a698b9/32.png) [@kammv](https://forums.pega.com/u/kammv)\
**Post date:** [August 14, 2024, 3:13pm UTC](https://forums.pega.com/t/add-history-to-the-resolved-cases/8050/5 "2024-08-14T15:13:15Z")

</div>

@RashmithaM were you able to see the values set in the sql step

, when you trace it

---

<div class="post-metadata">

**Author:** ![RameshSangili](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rameshsangili/32/23377_2.png) [@RameshSangili](https://forums.pega.com/u/RameshSangili)\
**Post date:** [August 14, 2024, 4:41pm UTC](https://forums.pega.com/t/add-history-to-the-resolved-cases/8050/6 "2024-08-14T16:41:07Z")

</div>

@RashmithaM

My 2 cents…

- Reopen the Workobject - Add the reason for reopening either missing Audit logs or anything meaningful.

- Call History-Add to capture the Audit logs based on your business requirement and resolve the case again.

This will be in line with other cases (no extra audit logs after the cases are resolved).

---

<div class="post-metadata">

**Author:** ![RashmithaM](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@RashmithaM](https://forums.pega.com/u/RashmithaM)\
**Post date:** [August 19, 2024, 2:11pm UTC](https://forums.pega.com/t/add-history-to-the-resolved-cases/8050/7 "2024-08-19T14:11:38Z")

</div>

@RameshSangiliInstead of reopening the workobject, Do we have any other options?

---

<div class="post-metadata">

**Author:** ![RameshSangili](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rameshsangili/32/23377_2.png) [@RameshSangili](https://forums.pega.com/u/RameshSangili)\
**Post date:** [August 19, 2024, 3:31pm UTC](https://forums.pega.com/t/add-history-to-the-resolved-cases/8050/8 "2024-08-19T15:31:22Z")

</div>

@RashmithaM

Sorry, it’s not advisable to add audit history after cases are resolved.

---

<div class="post-metadata">

**Author:** ![RashmithaM](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@RashmithaM](https://forums.pega.com/u/RashmithaM)\
**Post date:** [August 14, 2024, 2:48pm UTC](https://forums.pega.com/t/add-history-to-the-resolved-cases/8050/9 "2024-08-14T14:48:40Z")

</div>

@Abhishek Tripathi this is the table pc\_history\_work

---

<div class="post-metadata">

**Author:** ![Abhishek\_Tripathi](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/abhishek_tripathi/32/14535_2.png) [@Abhishek\_Tripathi](https://forums.pega.com/u/Abhishek_Tripathi)\
**Post date:** [August 14, 2024, 4:45pm UTC](https://forums.pega.com/t/add-history-to-the-resolved-cases/8050/10 "2024-08-14T16:45:53Z")

</div>

@RashmithaM

Try the approach which ramesh sangili has suggested.

I think it will work.

---

<div class="post-metadata">

**Author:** ![RashmithaM](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@RashmithaM](https://forums.pega.com/u/RashmithaM)\
**Post date:** [August 28, 2024, 2:29pm UTC](https://forums.pega.com/t/add-history-to-the-resolved-cases/8050/11 "2024-08-28T14:29:06Z")

</div>

We are adding a note to the resolved cases using pxAttach note activity instead of reopening the workobject .
