cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping based upon context change

Former Member
0 Kudos

Hi,

Quick graphical mapping question:

I have an inbound message with 2 contexts for one segment - <ClaimantInformation>

Basically, I want to set the content of a target field based upon the following:

If context1 of <ClaimantInformation> then set field1 to "A"

If context2 of <ClaimantInformation> then set field to "B"

I'm sure there must be an easy way to determine which context you are dealing with and set a target field accordingly.

Any ideas ?

Thanks

Colin.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

You can try writing a UDF ..

take source as input to this UDF...

In the UDF check whether it is context 1 or 2 by using counter in a loop....

according return A or B

Former Member
0 Kudos

Hi Colin,

its really hard to understand ure problem

can u be a bit more brief on it.

Rgds

Aditya