I think lock can be released only in below scenarios
1)When user resolves the WO
2)When user explicity closes the WO thread
3)When user logs off
4)When same requestor logs in through other session, and try to access the same WO, we will get a message saying
'It has been locked by other requestor,shall we log out other requestor to proceed?' and you click 'Yes'
There exists a concept of soft lock, where, eventhough, you specified a time via pxExpireDateTime, lock may still exist.
We always encourage, user to logoff, to release the lock.
Probably you need to manually check and delete the entries in pr_sys_lock table with condition delete if pxExpireDateTime>currentsystemdatetime
Hope this helps.
Posted: 5 years ago
Posted: 25 Jan 2017 4:08 EST
Pankaj Rawal (rawap)
Senior Software Architect, Low-code
Enteries from pr_sys_lock table are only deleted when the lock is released. pxExpireDateTime is not an indication of lock released rather it converts the lock to a soft lock.
pxExpireDateTime is evaluted based on default timeout provided in Case locking settings. After this time out is passed, pxExpireDateTime will reach and lock will be converted to soft lock. Soft lock means, that any other user can now acquire the lock and submit the work and then lock will be released. Or if the same user comes back who initially had the lock and submits, it will then submit the assignment and release the lock.