Menu

Directory scanner issue

Help
2003-11-06
2003-11-07
  • Hagop Chemedikian

    Hi,
    I want to ask if there is a way to configure directory scanner in order push input documents from different directories in different pipelines. The choise of the pipeline must be made in base of the input directory.

    Thanks  

     
    • Dejan Krsmanovic

      Currently there is no way to do that with one scanner worker.
      However, you can specify more than one sanner worker per scanner configuration. If you have few different directories/pipelines you could use that approach.

       
    • Hagop Chemedikian

      Thanks for the response.
      I want to to ask if there is some workarond using the Router pipeline stage. For example, may I check in the Router stage which document from which directory is and than route the docs to different stage path?

       
      • Dejan Krsmanovic

        Yes, of course.
        DirectoryScanner puts some attributes in document (file path, scan date...). You can use them in RouterStage for specifying routing conditions...
        Dejan

         
    • Hagop Chemedikian

      Hi again,
      how can I set and  get the list of attributes of a document. For example I woluld like to set a document attribute just with the name of the directory (not entire path) where it stays at the begining of elaboration. Is this possible and how can I do it?
      Thank you again for your availability
      Hagop 

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.