How do I find out if a document exists through Automation chain?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2014 11:05 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2014 08:51 AM
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.
