You are viewing limited content. For full access, please sign in.

Question

Question

How to check if path exists without generating a warning

asked on October 5, 2015

I have a workflow that needs to know if a folder exists, and it does that with an entry search and then using the status of the 'results found' token. The path is often not there so this generates a warning in the log.  The lack of the folder is not actually a problem, however, so this makes it look like something went wrong when it did not. Is there a way to check if a path in the repository exists without throwing a warning?  

0 0

Answer

SELECTED ANSWER
replied on October 5, 2015

If you use Find Entry instead of Search Repository, you get an option not to report the warning. Additionally, the activity is a bit more efficient since it only checks the exact path rather than running a search.

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.