How to get an alert when I file does not exisit in CC
I have a FILE SYSTEM (NFS) communication channel which should read a file from a drive and do content conversion. If the file exists, the process will be completed just fine. However, if no file found, no errors will appear, and the log will show:
11/13/07 10:06:19 AM Polling interval started. Length: 60000.0 seconds
11/13/07 10:06:19 AM Processing finished successfully
11/13/07 10:06:19 AM Processing started
Is there a way to raise an exception or setup an alert in case my communication channel didn't find the file?
You can try this.
Have a BPM. A call from proxy(this trigger can be any thing else) starts the BPM before the File adapter starts its polling. The next step would be a receive step that receives the file as input. Surround this with a dead line branch (set an appropriate dead line) and if the file does not arrive with in the specified dead line, you can throw an alert using container operation and stop the process.