on 11-13-2007 7:23 AM
Greetings,
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?
Thank you
Hi,
If u dont have any file in the source directory then how can u see the sucess message in the RWB.When u have to triger an Alert if u have any error.How u declear the Alert catagory.all depends on trigerring an Alert.
If u dont have any file then u ahve to trigger an Alert i dont think any client will require this reqiurement.
if the source directory is wrong or if u have any probelm with mapping or if ur adapter fails then alos u can triiger Alert.
U cant find this type thread in SDN tooo.
Regards,
Phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are correct. When the file is not found, XI does not report it as an error and alert messages can be raised only if there is an error. So you will not find any blogs adressing this.
You can try this. Configure the third party application to write an empty file (if there is no valid data to be written) and <b>XI can read a zero length file</b>. You can then raise an alert from the mapping step or use conditional receiver determination to send a mail directly.
Regards,
Jai Shankar
I am not sure about raising an Alert if file does not exist, because XI will try to poll the file and it will not considered an Error if file is not present....
You can design the BPM and in tat u can chek the soure message fileds if that fileds (that has to come/mendatory) then process the interface else throw an Alert...seems out of your requirement but it will give what u want:)
Thanks
Farooq.
Baheej,
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.
Regards,
Jai Shankar
I did search in the forum and blog but didn't find any clue. I hope someone could help in here.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.