Versions Compared

Key

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

...

The JS7 - File Watching is used to automatically start a workflow when file arrives in a directory. JS7 Agents on any platform can continuously watch for incoming files and add an order for each file.

...

The workflow jdFileWatchingForkTouch includes  workflow includes a shell job that creates files for the automated execution of the jdFileWatchingFork workflow.

  • The jdFileWatchingForkTouch Workflow jdFileWatchingForkTouch  creates the files,
  • File Watching automatically picks up the files and
  • starts the jdFileWatchingFork workflow by adding one order per for each file created.

To execute the workflow from the folder 08_FileWatching follow the below steps described below:

  1. Click the folder 08_FileWatching and expand the jdFileWatchingForkTouch workflow. By adding an order to the jdFileWatchingForkTouch workflow - as explained with the JS7 - Online Demo - Workflow - jdFileWatchingForkTouch article - a number of files are created and respective file orders are automatically added to the jdFileWatchingFork workflow. You can check the triggering of files from the screenshot below screenshot.



  2. To check the status of the order click the name of the workflow to make the Order History panel appear.




  3. From the Order History panel, you can verify the that 5 orders are added to the workflow. Each order represents the respective file. You can verify if the orders are successful and  havefinished. Click the Order ID to see the log output created by jobs executed for the respective each order.



  4. A log window will open and the order log will be displayed. The order log contains the output of all the jobs executed by the order.
  5. You can download the log file by clicking the Download button from in the upper right-hand corner of the log view window. Also, you can expand and collapse all the individual job output using the chevron icons from the upper left upper -hand corner of the log view window.


...