Question

1
Replies
20
Views
Close popover
Sree Ramya Gude (SreeRamyaG)
Infosys Ltd

Infosys Ltd
IN
SreeRamyaG Member since 2019 2 posts
Infosys Ltd
Posted: November 27, 2020
Last activity: November 27, 2020

Lock Gone Exception on Tickets created from Interaction portal

Hi,

For my telecommunication Application,we are creating ticket from the InteractionPortal. Ticket is having an SLA defined, on SLA - Passed Deadlin, there is an activity being Invoked. In the Activity I could see there is obj-Open-by Handle  with Lock(enabled) and release on commit(enabled). In those activity I do have obj-save in later sub activities which are invoked.  In the logs I could see lock gone exception on T-123 with below stack trace:

ExecuteSLA.Assign_.Action) ERROR   - obj-save failed. com.pega.pegarules.pub.database.LockGoneException: Save, Delete or Commit has failed because lock "TELENET-ADT-WORK T-123" is not held     at com.pega.pegarules.data.internal.access.Saver.checkRequiredLock(Saver.java:1243) ~[prprivate-data.jar:?]     at com.pega.pegarules.data.internal.access.Saver.saveDeferred(Saver.java:439) ~[prprivate-data.jar:?]     at com.pega.pegarules.data.internal.access.DatabaseImpl.saveDeferred(DatabaseImpl.java:2756) ~[prprivate-data.jar:?]     at com.pega.pegarules.data.internal.access.DatabaseImpl.saveDeferred(DatabaseImpl.java:2739) ~[prprivate-data.jar:?]     at com.pega.pegarules.data.internal.access.DatabaseImpl.saveDeferred(DatabaseImpl.java:2732) ~[prprivate-data.jar:?]     at com.pegarules.generated.activity.ra_action_executesla_464350f6cf89e0b6dd36c2aed60a7659.step23_circum0(ra_action_executesla_464350f6cf89e0b6dd36c2aed60a7659.java:2536) ~[?:?]  

I could see on execute SLA obj-save lock is going ,  If there be any Issue if I use obj-open by handle with lock(disabled) and release on commit(disabled) , I am not able to understand the root cause where lock is going. Please provide any solution to proceed further.

Pega Customer Service for Communications 8.3 Case Management Technology Services System Architect Pega Academy