Question
Optimistic locking - subcase is not update in case
Hi,
We have implemented in Pega 7.1.5 default locking for our case types.
Whenever I access a subcase from the case and resolve it, when I go back to the case and refresh it, the subcase status is refreshed as well.
Now we are trying to change to optimistic locking but now the subcase status doesn't get refreshed in the same scenario. Looks like subcase is not updating the case correctly.
When I run the tracer it works fine so I haven't been able to determine the cause.
Proper scenario goes like this:
Create parent case
Create subcase
open parent case
access subcase from parent case
Resolve the subcase
close the subcase (takes me back to parent case)
refresh the parent case
check subcase status and its not updated to closed.
Could it be that the optimistic locking functionality has certain problems when the parent case is open? or is it some extra configuration required in the case types?
Hi Fabian,
Go to this link to get more details on Default locking and optimistic locking.
https://pdn.pega.com/about-pega-7-case-locking
Its mentioned (in considerations, last point )that
In this case, since the current operator has lock on both child and parent cases, the expectation is that the update happens like how it happened for default locking case. Can you provide work object XML for parent case and child cases for validation?