Posted: 15 Dec 2017 7:37 EST Last activity: 1 Sep 2019 8:22 EDT
Split For Each
I have create a case and used Split for each to create additional Assignments as per requirement. Just assume that i have created two assignments and assigned to 2 different users , when the both are trying to work parallel getting lock issue. Can you please suggest me to resolve this?
Could you please explain the scenario briefly because if you assign 2 assignments to 2 different users ideally you should not get lock issue as the first user wont be having access to other's assignment. Mean while try optimistic locking to avoid this locking issue.
use Optimistic locking or else its not possible for two users to work on same case simulatenously, its near parallelism not exact parallelism. If you really want to have to two users to work in paralell , u can create child cases and use dont lock parent check box option.
Do you mean that the two sub cases that are split for the main case, when worked by two other users are trying to update the main case and getting lock exception? Kindly elaborate.
If so, as suggested you could use "Optimistic locking" and the user who first commits the changes on the main case would acquire the lock on the parent and the second user would be prompted to refresh the case as the changes are already committed by other user.
If possible, please share the logs to get the exact failure point.
Thank you for posting your query on PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write a Post button that’s at the top of our Pega Support Community homepage. Once created, please reply back here with the URL of the new post.
We have also sent you a private message opening up a communication channel in case you have any further questions.