As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I am using Document.create operation in my automation chain to create a Folder say "newDoc". The operation chain creates newDoc.54524445xx if the newDoc is already available. I would like to know within automation chain if a Folder named newDoc is already available so that i can reuse it without creating a duplicate (newDoc.54524445xx). How can i do that?
Use the exists method of the CoreSession to check for the presence of a document, passing a PathRef with the path for the document you want to check for.
exists
CoreSession
PathRef