Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Watched folder access denied

Avatar

Level 2
Hi,



I want to read an Excel file in the watched folder in a readDocument process step. When the process tries to open the Excel file I get an access denied error for the watched folder. The administrator user has full control over the watched folder and the Excel file is not read-only.



Is there something wrong with my watched folder settings?
2 Replies

Avatar

Former Community Member
Where does the error appear? Did you set the userid and password for the watch folder in it setup?

Avatar

Level 9

If you're setting up a watch folder, you don't need to use a readDocument step - you just need to define an input variable of type Document, and the watch folder does the rest.

I suspect you're getting an error because the WatchFolder code and your readDocument step are both trying to read the same document.

howard

http://www.avoka.com