cancel
Showing results for 
Search instead for 
Did you mean: 

How do I find out if a document exists through Automation chain?

Sid_Saddala
Champ in-the-making
Champ in-the-making

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?

1 REPLY 1

Florent_Guillau
World-Class Innovator
World-Class Innovator

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.