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.
DQL command doesn't work
ReplyDeleteYou're right, forgot about the date field. I've updated the query:
Deleteupdate dm_document object set r_lock_owner='', set r_lock_machine='', set r_lock_date=date('nulldate') where r_object_id='[OBJECT_ID]'
Thanks for the information. The information you provided is very helpful for Documentum Learners. https://mindmajix.com/documentum-training
ReplyDeletegrzie risolto! :)
ReplyDeleteIs it mandatory to give the machine name?
ReplyDeleteИнстраграмм остается самой популярной площадкой для продвижения собственного бизнеса. Но, как показывает практика, люди гораздо чаще подписываются на профили в каких уже достаточное количество подписчиков. В случае если заниматься продвижение своими силами, потратить на это можно очень немало времени, потому гораздо лучше обратиться к специалистам из Krutiminst.ru подробнее https://sovetushka.forum2x2.ru/t16166-topic
ReplyDeletenice ...........!
ReplyDeletegoogle cloud data engineer certification
micro strategy certification training
msbi course training