# case data synchronization btw diff user sessions

**URL:** <https://forums.pega.com/t/case-data-synchronization-btw-diff-user-sessions/5840>\
**Category:** General\
**Tags:** 8-8-3, case-management\
**Created:** [January 18, 2024, 6:47am UTC](https://forums.pega.com/t/case-data-synchronization-btw-diff-user-sessions/5840 "2024-01-18T06:47:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaxonL16591286](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@MaxonL16591286](https://forums.pega.com/u/MaxonL16591286)\
**Post date:** [January 18, 2024, 6:47am UTC](https://forums.pega.com/t/case-data-synchronization-btw-diff-user-sessions/5840/1 "2024-01-18T06:47:24Z")

</div>

what’s Pega mechanism about case data synchronization btw diff user sessions?

E.g. one case (Case1) is opened by two users A & B simultaneously.

When B update one case property ( in clipboard and save in database), can A get a notification about the update?

Currently, in A side, we can only proactively call Obj-refresh to get latest value of the property.

---

<div class="post-metadata">

**Author:** ![KUNTAL\_PAN](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@KUNTAL\_PAN](https://forums.pega.com/u/KUNTAL_PAN)\
**Post date:** [January 18, 2024, 7:28am UTC](https://forums.pega.com/t/case-data-synchronization-btw-diff-user-sessions/5840/2 "2024-01-18T07:28:57Z")

</div>

@MaxonL16591286

Please use optimistic locking in case type. This is the default behavior of optimistic locking.

When user B will try to submit, will automatically get refreshed with updated data from user A.

Thanks,

Kuntal

---

<div class="post-metadata">

**Author:** ![MaxonL16591286](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@MaxonL16591286](https://forums.pega.com/u/MaxonL16591286)\
**Post date:** [January 18, 2024, 8:04am UTC](https://forums.pega.com/t/case-data-synchronization-btw-diff-user-sessions/5840/3 "2024-01-18T08:04:01Z")

</div>

@KUNTALPAN would you share related document / guidance about optimistic locking?

Thanks.

---

<div class="post-metadata">

**Author:** ![KUNTAL\_PAN](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@KUNTAL\_PAN](https://forums.pega.com/u/KUNTAL_PAN)\
**Post date:** [January 18, 2024, 9:32am UTC](https://forums.pega.com/t/case-data-synchronization-btw-diff-user-sessions/5840/4 "2024-01-18T09:32:37Z")

</div>

@MaxonL16591286

This is a configuration Case Type. In Settings Tab select Locking and select Allow Multiple Users. Check attached screenshot.

Please check below for Locking concepts.

[https://academy.pega.com/topic/case-locking/v1?](https://academy.pega.com/topic/case-locking/v1?)

Thanks,

Kuntal

 ![Optimistic Locking.jpg](https://pega1.discourse-cdn.com/pega/original/2X/e/e537bca513874f80afa531a8da54a582959bb324.jpeg)

---

<div class="post-metadata">

**Author:** ![Bhumireddy](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/bhumireddy/32/23248_2.png) [@Bhumireddy](https://forums.pega.com/u/Bhumireddy)\
**Post date:** [January 18, 2024, 9:48am UTC](https://forums.pega.com/t/case-data-synchronization-btw-diff-user-sessions/5840/5 "2024-01-18T09:48:41Z")

</div>

Hi @MaxonL16591286

Could you please go through the below articles?

These are very nice articles, and these articles will definitely clear up your doubts.

[Pega Lock mechanism](https://support.pega.com/discussion/pega-lock-mechanism)

[Lock mechanism with case hierarchy](https://support.pega.com/discussion/lock-mechanism-case-hierarchy)

[Case locking](https://academy.pega.com/topic/case-locking/v1)

I hope this will help you.

**Thnaks,**

**Ashok**
