on 07-13-2016 12:22 PM
Hello All,
My scenario is Proxy --> XI --> FTP
Whenever we are getting 0 byte file, that file need to be send to the Receiver Mail Adapter. Instead of sending it to FTP. I mean an alert to be raised to the team that 0 Byte file has been arrived.
Receiver FTP with File Content Conversion is used.
Does it is possible using the Interface Determination or Receiver Determination ? If yes please provide the steps to achieve it.
If there are any other solution, kindly suggest.
I know we have an option at the Receiver File Adapter to Ignore the file using Empty File Handling. But my scenario is that we need to raise an alert whenever 0 byte file is arriving.
Let me know if you need further information.
Rewarded with points.
Thanks & Regards
Raja Ravivarma V
+91-8056129900
Hi Raja,
You can use the context object File size in RD . In RD, if File Size is <> 0 then send to target system else send to Mail receiver.
Empty File handling and raise alert. | SCN
hope it helps!
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Raja,
In receiver Determination you can use XPATH functions like exist, count etc and check for the some
Xpath Condition in Receiver Determination - Process Integration - SCN Wiki
then you can route it to mail/FTP.
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Raja,
Their is no such XPATH function to check size of message .
What i mean't is you can apply XPATH function in any of the source structure (like root node) which appears only when actual data is their.
Can you put the screenshot of the source payload for empty message payload and the actual source proxy structure.
Br,
Mano
Hello Raja,
You can handle it in the mapping.
If empty file is created,that means proxy data should be empty.
so make the Target nodes mandatory,So that mapping will fail if proxy is empty and configure alerts to trigger mail for the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.