Hi All,
I am looking for TBO logic to handle new documents/objects that are created in Documentum. we have specific requirement that we need insert a record whenever a new document/object or version is created in Documentum. I have tried below steps but all have few restriction which I am unable to sort.
1) isNew() method returns true for newly created document/object, where as it returns false for new version.
2) getVStamp() returns 0 for new document, this works for both new document and new version but when a document is being edited/modified after creation in dosave() getVStamp is returning 0 for first edit/modify after document gets created.
3) have put the logic in dosetfile(), only concern with this is that whenever a document /object is checked in as same version isNew() returns false and getVstamp() returns 0. In this method both the cases of new document and new version are getting handled, only problem is that check in same version will trigger the custom logic again for the first time.
4) version label didn't helped in straight way.
so, let me know if there is any method or any way to identify that the object created is new.