on 01-27-2016 2:19 PM
Hi All,
I am creating a simple IFlow (File to File ) with a condition in it. I did add Condition in the NWDS , but when I execute the iFlow it doesnt check the condition.
Scenario:
Send a Matmas XML File from File Source to another Folder.
Condition:
/ZMATMAS_EXT/IDOC/E1MARAM/Z1MARA1[count(ZZKLML) > 0]
/ZMATMAS_EXT/IDOC/E1MARAM/Z1MARA1[count(ZZKLML2) > 0]
/ZMATMAS_EXT/IDOC/E1MARAM/Z1MARA1[count(ZZKLML3) > 0]
Issue:
Deployed with Conditions in NWDS:
When I excecute the iFlow , it doesnt check condition. I created a XML File without these Segments, but the message went through and created a File.
Deployed with Conditions in Integration Builder ( SING Tool)
The Message is delivered successful but no File, is created due to condition in Integration Builder
Condition:
/ZMATMAS_EXT/IDOC/E1MARAM/Z1MARA1[ EXISTS(ZZKLML) OR EXISTS(ZZKLML) OR EXISTS(ZZKLML)]
Hello Giressh,
In your condition remove the whitespace before XPath,It will work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Sritharan,
Firstly Sorry for creating duplicate threat, It was unintentional.
Thank you very much for this Input of deleting "White space" in front of "Xpath". We tried it without space and Voila, it worked!
Funny that NWDS creates this whitespace, that I have to delete it..
Anyway thank you very much for your Input 🙂
Hi Gireesh,
Use below condition in NWDS.
(EXISTS(Xpath./ZMATMAS_EXT/IDOC/E1MARAM/Z1MARA1/ZZKLML)) OR (EXISTS(Xpath./ZMATMAS_EXT/IDOC/E1MARAM/Z1MARA1/ZZKLM2)) OR (EXISTS(Xpath./ZMATMAS_EXT/IDOC/E1MARAM/Z1MARA1/ZZKLM3))
Regards,
Praveen.
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.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.