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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, of course.
DirectoryScanner puts some attributes in document (file path, scan date...). You can use them in RouterStage for specifying routing conditions...
Dejan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.
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?
Yes, of course.
DirectoryScanner puts some attributes in document (file path, scan date...). You can use them in RouterStage for specifying routing conditions...
Dejan
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