on 12-01-2014 11:18 PM
Hi,
Currently i am routing messages in an ICO for two different interfaces from a single source. This condition is at the Receiver Interface level as both belong to the same Business System.
The structure goes by this,
MT_BatchProcess
BatchProcess
LineType1
LineType2
LineType3
LineType4
Condition: If LineType2 exists, then run the interface for ReceiverInterface 1
If LineType3 and LineType4 exists, then run the interface for ReceiverInterface 2
XPATH Expression: Type: String Multiline: Checked
/MT_BatchProcess/BatchProcess[count(LineType2 >0 ] EX ----> ReceiverInterface 1
/MT_BatchProcess/BatchProcess[count(LineType3 >0 ] AND /MT_BatchProcess/BatchProcess[count(LineType4 >0 ] EX ----> ReceiverInterface 2
Somehow, this condition is not working in my case. Could someone help me find out what is that i am missing in these conditions.
Many thanks,
Sherin Jose
Hi Sherin,
Did you tried with standard expression like below
MT_BatchProcess/BatchProcess/LineType2 EX AND MT_BatchProcess/BatchProcess/LineType3 EX
MT_BatchProcess/BatchProcess/LineType4 EX
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If there is no typo then i don't think it's an issue with your xpath condition.
Check for Nicolas Freyre reply in the below thread. It should address your issue.
Error: InterfaceDetermination did not yield any actual interface in Advanced Adapter Engine
Hi Hareesh,
Tried all the below 3 options but it didn't work.
1) Mine has a proper interface, so dummy interface not required in my case
2) The interface pattern is already setup as Stateless.
3) Removed the Sender component details and tried testing, still didn't work.
Removed all conditions and checked if atleast the flow is working fine and it worked and data was sent to both the interfaces. So, i feel it is something to do with the condition which is causing this issue.
Hello,
>>So, i feel it is something to do with the condition which is causing this issue.
How exactly ur interface is behaving when u have below condition in ID ?
Secondly, LineType** is a field or a node? and what's the occ of the same?
/MT_BatchProcess/BatchProcess[count(LineType2) >0 ] EX ----> ReceiverInterface 1
/MT_BatchProcess/BatchProcess[count(LineType3) >0 AND count(LineType4) >0 ] EX ----> ReceiverInterface 2
Thanks
Amit Srivastava
Hello,
There is a small correction in the XPath which i have mentioned above...So instead of using "AND" in uppercase use it in lowercase.
/MT_BatchProcess/BatchProcess[count(LineType2) >0 ] EX ----> ReceiverInterface 1
/MT_BatchProcess/BatchProcess[count(LineType3) >0 and count(LineType4) >0 ] EX ----> ReceiverInterface 2
Thanks
Amit Srivastava
Hi Sherin,
taking a long shot here but I had once a similar problem when condition editor in NWDS did not accept predicates (other limitations also applied). I thought that that was a limitation of NWDS' conditon editor but since an iFlow seems to be an ICO under the hood, maybe that limitation is in fact that of the ICO?
Not sure however, if this applies to you. My solution was to use condition editors "expression with white space" feature. Maybe this could be of some help
Cheers
Jens
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.