Question
Need to forcefully release lock which hold by other requestor.
ABC operator login and opened I-93 WO. Now XYZ operator need this WO .
We are showing section for Unlock where XYZ will enter I-93 and click Unlock button, SO now what are the things we need to do on click of this button to Release Lock.
The immediate question comes to our mind is ABC Changes will lost thats fine even it get lost.
Thanks
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Hi Srinivas,
You can look into the ReleaseLock activity from Work- class. This activity release the lock on the work item.
This is called from the stream Work- DisplayLockInfo. The lock on the work item should be released when the user closes or hits submit on the work form. The activity unlocks the work object and displays the work object in Review mode.
Regards
Mahesh