Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

In the sample below there are two different approaches described how you can start jobs on a file event.

Using a file order source

See also Documentation

 


The job chain job_chain_file_order_source has a file order source watching for files in c:\temp\input with the file name extension .txt. When a file arrives, an order for the job chain will be created. The file will be removed at the end of the job chain by the file sink node(s).

  • Orders can not have additional parameters.
  • Order processing starts when the file is detected, not after the file is completely written.

 

Using JITL Job JobSchedulerExistsFile

See also Documentation

   


 


The job chain job_chain_file_order_source_poll uses the job JobSchedulerExistsFile to check, whether a file is in c:\temp\input ending with .pdf. If so, for each file found, an order will be created for the job chain job_chain_file_order_source. The file will be removed by the sinks in the job chain.

...

Please note, that you can mix file_order_source and JobSchedulerExistsFile by using JobSchedulerExistsFile in the first node to check, whether the file has been completly written.

configuration files