case data synchronization btw diff user sessions

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.

@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

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

Thanks.

@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?

Thanks,

Kuntal

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

Lock mechanism with case hierarchy

Case locking

I hope this will help you.

Thnaks,

Ashok