Integration Server 10.11 | Built-In Services Reference Guide | Storage Folder | Summary of Elements in this Folder | pub.storage:unlock
 
pub.storage:unlock
WmPublic. Unlocks an entry or a data store.
When a flow service retrieves an entry using the pub.storage:get service, the entry is locked to prevent modification by other users before the flow completes. The entry remains locked until the lock owner invokes a pub.storage:put service. To unlock a service without using the pub.storage:put service, use the pub.storage:unlock service.
In addition, if a flow service uses the pub.storage:lock service to lock an entry or data store, you must use the pub.storage:unlock or pub.storage:put service to release the lock.
Important:
Be careful when releasing locks with this service. If you release a lock on a data store, another thread can obtain a lock on the data store and delete it, and the entries it contains, even if the original thread still has locks on one or more of the entries.
Input Parameters
storeName
String Name of the data store in which to unlock an entry.
key
String Optional. Key of the entry that you want to unlock. If key is not supplied, the lock will be removed from the data store specified in storeName, but any locks on entries in the data store will remain.
Output Parameters
None.