Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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

Level 10
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