on 06-04-2009 5:24 PM
Hi Gurus,
I have done one mapping in which the display value of address is business.If address type is "business" then only it will send to the receiver otherwise it will not send to receiver.If address type is something else other than the "business' then how the mapping will be.For e.g if the display value of address is "official" then how the mapping will be
- <Addresses>
<DisplayValue>Business</DisplayValue>
- <KPMGLocationName>
<KPMGLocationName>300 Tice</KPMGLocationName>
<Language />
</KPMGLocationName>
- <Rm_Suite_Unit>
<Rm_Suite_Unit>200</Rm_Suite_Unit>
<Language />
</Rm_Suite_Unit>
- <StreetAddress>
<StreetAddress>300 Tice Blvd</StreetAddress>
<Language />
</StreetAddress>
- <Zone_District_PostalOffice>
<Zone_District_PostalOffice>Montvale</Zone_District_PostalOffice>
<Language />
</Zone_District_PostalOffice>
- <City>
<City>Woodcliff Lake</City>
<Language />
</City>
<State>NJ</State>
<PostalCode>07677</PostalCode>
- <Country>
<DisplayValue>US;United States;USA;United States of America</DisplayValue>
</Country>
</Addresses>
For each value like <KPMGLocationName>, <Rm_Suite_Unit>,<StreetAddress> etc, i am checking if address is Business then only i am passing all the above value to the receiver.
Let me know if i have multiple addresses then which function can i use and do the mapping.
Thanks
Veeru
Hi, viru:
When you say
If address type is "business" then only it will send to the receiver otherwise it will not send to receiver
Does this mean you want to map to the target, not send to receivers configured?
Anyway, if you map the node based on another node, use equals standard fundtion,
then the true / false value will be passed to if standard function.
if you have multiple addresses, if the queue length is same from other node, and context does not need to be handled.
Regads.
Liang
Edited by: Liang Ji on Jun 4, 2009 6:37 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Liang,
I have done that way itself the way u r suggesting.What i mean to ask that how to handle multiple address in a mapping.Is it using "Or" function or something else.Right now ,am just hardcoding only one value.What if ,there are several addresses are there at the same time.
Can u share ur email id so that i can send u snap shot of the mapping. Then i guess u can guide me better.
Thanks
Veeru
DisplayValue
------>equalS(textFunction)------->ifWithoutElse ------------> Target
Constant(Business) Then(KPMGLocationName)
If you are expecting multiple DisplayValue nodes than raise the Context of the DisplayValue node above the address node
Are you sure that the structure that you have mentioned is correct?? I could see two DisplayValue nodes under the same Addresses Node.....same for Language and other nodes!!
If it is about sending the message to the receiver if DisplayValue = Business then you can use the condition in Receiver Determination.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use boolean function "IFWITHOUTELSE" to pass only If address type is "business"...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
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.