cancel
Showing results for 
Search instead for 
Did you mean: 

Conditional mapping

Former Member
0 Kudos

Hello All,

I have 1 source and 2 targets.

2 Mapping and 2 interface mappings.

I have to execute the 2 mapping and send to target on successful execution of the first one.

How should i handle this.

Thanks,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Resolved

rajasekhar_reddy14
Active Contributor
0 Kudos

What is your Source and Traget??

Use multi mapping in this case one message mapping and one interface mapping enough,but multi mapping will not support IDoc,Http scenarios.

Search in sdn for multi mapping blog

Regards,

Raj

Former Member
0 Kudos

Hi All,

source is third party system and it is sending data to ECC.

From PI we are sending back the ACK to third party system that we received the data.

Source to ECC is 1 mapping and

Source to another interface is another mapping which is sent to third party system

So if Source to ECC mapping fails i dont wish to trigger the another mapping

Thanks,

Former Member
0 Kudos

In your case, you have 2 independent receivers, your source payload is copied twice and takes 2 different paths in PI, so you cannot control execution of one mapping based on success/failure of another mapping defined for another receiver system.

One option is to go with BPM and then you can have better control in calling tranformations.

Thanks

Saravana