Question

Split For Each

Dear All,

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?

Thanks in advance.

Raghav

Comments

Keep up to date on this post and subscribe to comments

December 15, 2017 - 7:49am

HI Raaghavendra,

 

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.

December 15, 2017 - 10:15am

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.

Pega
December 15, 2017 - 11:55pm

Hi Raghavendra,

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. 

September 1, 2018 - 9:25am

Can someone please share similar real time example for  Spin off ,Split join & Split-for-Each" ?

Mod
September 3, 2018 - 12:21pm
Response to koteswararaom5166

Hello!

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.

 

Thanks,

Lochana | Community Moderator | Pegasystems Inc.

September 4, 2018 - 12:45am

September 1, 2019 - 8:22am