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

Question

Question

Import Agent with multiple subfolders

asked on October 14

Good Afternoon,

We are working with a scanning vendor to scan as much paper files into digital as possible, and so far Import Agent has been working well. One hiccup we found is that it can't seem to handle subfolders within a subfolder.

For example, Import Agent is watching "R:\Scans Incoming" with the "Retrieve files from subfolders" option checked. If a file is uploaded to that folder, such as "R:\Scans Incoming\File.tif" it imports fine, if a file is uploaded to "R:\Scans Incoming\2026\File.tif" it imports fine, creating a subfolder within the repository, ie "2026\File". The problem comes when there is a subfolder to that subfolder, for example "R:\Scans Incoming\2026\October\File.tif" the import fails, and event viewer records a (Entry not found. [9001]) error.

Has anyone had success with importing files within a sub folder, within another sub folder?

Right now our Document properties are:
Name: %(FileName)

Folder: IncomingScans\%(Subfolder)

 

I have tried Folder: IncomingScans\%(FilePath) but that then names the folder the full path to the file, as well as the file name and extension.

I noticed an option we have never used, "Set Profile Count token to..." not sure what this does, and the documentation doesn't cover it, other than you can number it. Would this help? 

Thanks for any help you can provide....
 

0 0

Answer

SELECTED ANSWER
replied on October 27

Hello All,

For anyone this may help, I found what the issue was. After confirming the import agent assigned user had the permissions for the folder, I kept digging and remembered that the folder it was importing into also had a security tag assigned. So the user had the permissions to the folder, but not the security tag. After I updated that, it worked. I'm guessing that is why the error was 9001 and not 9014, it wasn't an access denied, but tag was blocking from view.

Hope that helps someone.

2 0

Replies

replied on October 14 • Show version history

Hi Eric,

  1. What's the version of your Import Agent?
  2. We were NOT able to reproduce the issue. Could you provide the exact error message you encountered? Error 9001 is returned by LF server.
  3. Was the 2026\October folder created in the repository?
  4. The 'Set Profile Count token to ...' option only affects the starting value of the %(ProfileCount) token.

Thanks,

0 0
replied on October 15

I would also check security on the 2026 folder for the user specified in Import Agent's connection profile to determine if this is a security issue. Maybe the user has rights to create entries under Incoming Scans, but not in any folders under Incoming Scans.

0 0
replied on October 22

Hi Juan,

1. We are using Import Agent 11.0.0.501

2. The exact error was "There was an error running the profile [profile name] while importing the file [file name]. (Entry not found. [9001])

3. The 2026 folder was created, but not the October. I checked and the user account used for the import has the permissions to create folders, and is able to import files into the folder, as long as they are not in a sub, sub folder. If the file to be imported was in a subfolder, 2026 it would import fine, but if there is another subfolder at the import location, such as 2026/October, then we would get the 9001 error.

4. What does the Profile Count token do?

0 0
replied on November 1

The Profile Count token is a counter that increments each time a particular Import Agent profile imports a document. It is typically used when you need a sequential number in a document name, field value, or folder name. (Tokens Help Document)

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

Sign in to reply to this post.