cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping problem

Former Member
0 Kudos

Hi experts,

I'm trying to map this:

http://img529.imageshack.us/img529/3231/originkz2.png

Into this:

http://img171.imageshack.us/img171/5086/endia8.png

The point is the Activity node, it have differents contexts in each message. I'm trying to map it using the remove context but it doesn't work. It maps the first activity ID with the first, wich is correct, but the rest are mapped to the last activity, as you can see in the pictures.

Values in the first message:

Activity-ID: 11

Activity-ID: 22

Activity-ID: 33

Activity-ID: 44

Values in the second message with remove context(wrong):

Activity-ID: 11

Activity-ID: 44

Activity-ID: 44

Activity-ID: 44

Do you have any idea?

Regards

Gonzalo

Edited by: Gonzalo del Castillo on Jun 4, 2008 1:30 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You should not have to remove context.

Why can't you just map Activity to Activity and ID to ID.

Regards,

Former Member
0 Kudos

I have already done that(mapping one-to-one) but doesn't work. It generates just one activity. I think that is because the activities in the second message are one level down from the first message.

Former Member
0 Kudos

You are correct.

It should be:

Activity -> SplitByValue -> Project

Activity -> SplitByValue -> Activity

ID -> ID

That will work

Former Member
0 Kudos

Hi,

then you will need the splitByValue function.

ID --> splitByValue --> ID

Regards

Patrick

Former Member
0 Kudos

Hi,

Map your Project node at receiver end to the ACTIVITY node at target end.

Activity--->project

And Activity with Activity.

Activity--->Activity.

Try Changing the ID context to Project while mapping that

Thanks,

Vijaya.

Former Member
0 Kudos

Thanks Yaghya, that worked!

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

wouldn't it be possible to map it like that:

Activity --> Project

Activity --> Activity

ID --> ID

No removeContext will be needed?

Regards

Patrick