Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
  JobSchedulerh1. > Order [label "(3) start order processing"];
  Orderh1. > JobChain [label "(4) start node"];
  JobChainh1. > JobChain [label "(5) start next node(s)"];
  JobChainh1. > Order [label "(6) end jobChain"];
  Orderh1. > JobScheduler [label "(7) process file sink"];
  JobSchedulerh1. > FileSystem [label "(8) delete/move file"];
  FileSystem .. JobChain [label =labelh1. "repeat waiting for files "];

...

Using JITL Job JobSchedulerExistsFile

See also Documentation

<mscgen>
msc {

No Format

 width"800";

FileSystem labeh1. "File System", textcolour"maroon", arctextcolouh1. "maroon",

No Format

  JobScheduler [label"JobScheduler", textcolouh1. "navy", arctextcolour"navy"],
  Order [labeh1. "Order for Pollling", textcolour"brown", arctextcolouh1. "brown"], 

JobChain label"JobChain", textcolouh1. "orange", arctextcolour"orange";

No Format

  JobSchedulerh1. > FileSystem [label "(1) start file watching"];
  FileSystem .. JobChain [labelh1. "waiting for files "];

FileSystem> JobScheduler labelh1. "(2) file arrived";

No Format

  JobScheduler> Order [labelh1. "(3) start order processing"];
  Order> JobChain [labelh1. "(4) start node"];
  JobChain> JobChain [labelh1. "(5) start next node(s)"];
  JobChain> Order [labelh1. "(6) end jobChain"];
  Order> JobScheduler [labelh1. "(7) process file sink"];
  JobScheduler> FileSystem [labelh1. "(8) delete/move file"];
  FileSystem .. JobChain [label "repeat waiting for files "];

}
</mscgen>

the job chain "job_chain_file_order_source_poll" uses the job JobSchedulerExistsFile to check, wether 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 be erased by the sinks in the executed job chain.

...