cancel
Showing results for 
Search instead for 
Did you mean: 

Message Mapping

Former Member
0 Kudos

Hi,

My Scenario is 0...unbounded to 1...unbounded

Source

<Header> 1..1

<ITEM> 0...unbounded

<PRODUCT> 0..1

<ID> 0..1

Target

<ITEM> 1...unbounded

<product> 0..1

<ID> 0..1

My Scenario is if 'ID' value is 'DUMMY' then i must pass the ITEM NODE to the target else the values in the item must be passed.How can i do this by message mapping

Srinivas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Srinivas,

Please, Can you send one example(source and target) in order I can get a better idea about what You want?

Thanks and Regards.

Ivan

Former Member
0 Kudos

Hi Ivan,

See the blow link for the Mapping

http://www.flickr.com/photos/35060033@N08/3247990219/

If the seller ID Value is 'DUMMY', then i must not pass the ITEM node to the target.

How can i do this?

Thanks for your help.

Srinivas

Former Member
0 Kudos

put the condition in your sender programme..

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

You can use the ifWithoutElse for this:

sellerID --> removeContext --> toUpperCase --> equalsS DUMMY --> not --> ifWithoutElse

ITEM --> removeContext -


> /

Then map the output of the ifWithoutElse to the target

hope this helps,

former_member184619
Active Contributor
0 Kudos

hi Srinivas,

You can use CreateIF standard function for same..

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

the 5th Node function in this, just use not equal to function in place of equal to and you can serve your purpose.

Sachin

Answers (1)

Answers (1)

aashish_sinha
Active Contributor
0 Kudos

Hi,

Write an advance UDF, and then check for the value of ID, if it is dummy, append the target vakuse to resultlist (Array of results).

Do this for all values. When queue completes, return the result list.

regards

Aashish Sinha