on 11-03-2006 2:48 PM
Hi,
In receiver determination i'd like to create conditional routing. Based on such rule if in elements <MEINH> exists GAB route to system SYS1 if in <MEINH> is VNT route to system SYS2. Is there a tricky syntax to achieve it?
Below is sample.
doc which should be routed to SYS1
<doc>
<meinh>KG</meinh>
<meinh>KG</meinh>
<meinh>VNT</meinh>
<meinh>KG</meinh>
<meinh>VNT</meinh>
<meinh>KG</meinh>
<meinh>KG</meinh>
</doc>
doc which should be routed to SYS2
<doc>
<meinh>KG</meinh>
<meinh>KG</meinh>
<meinh>KG</meinh>
<meinh>GAB</meinh>
<meinh>GAB</meinh>
<meinh>KG</meinh>
<meinh>GAB</meinh>
</doc>
Regards,
Wojciech
HI,
As it you need to do as normal way with Condition option in the Recieevr Determination
This blog may help u-to find out syntax
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
Make sure that in the condition editor you choose "Multiline ....option " ( I think so)..
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I've solved it using something like that:
/rfc:Z_CART_ARTTODCS/PT_ARTDATA/item[ZZMEINH="GAB"] EX => System1
/rfc:Z_CART_ARTTODCS/PT_ARTDATA/item[ZZMEINH="GAB"] EX => System2
Actually problem was with my sample XML. Thank you Krishna and Michal you have moved me into good track.
Regards,
Wojciech
hi,
no tricky syntax I believe
condition receiver loop through all values
and if it finds one then it will go to
the specified receiver
you can easily try it in ID in test configuration tab
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wojciech,
if you have a closer look in your receiver determination you will find a column: "condition".
Here you can define a payload depending condition like you need.
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.