How to unlock an object in Documentum

 

How to unlock an object in Documentum

When a user makes a checkout on a sysobject (opens to edit), Documentum automatically applies a lock on the object, preventing other users from modifying it. Only the lock owner or a superuser can unlock the object by making a checkin or cancel the checkout. As sometimes users forget to unlock documents, you might need to do this as a superuser.
You can unlock an object in 2 ways:

DQL:
update dm_document object set r_lock_owner='', set r_lock_machine='', set r_lock_date=date('nulldate') where r_object_id='[OBJECT_ID]'
API:
unlock,c,[OBJECT_ID],F
The last argument is a boolean flag specifying if a mail notification will be sent to the lock owner.

Comments

Popular posts from this blog

TBO - Installing Documentum TBO using Composer

Documentum UCF & Troubleshooting

Using Java reflection to reduce Code and Development time in DFS