cancel
Showing results for 
Search instead for 
Did you mean: 

How do I pass the true condition value records to target

former_member727094
Discoverer
0 Kudos

Dear folks,

I am trying to do condition message mapping in SAP CPI. The requirement is one employee has multiple EmpEmployment records in every single record having "externalCode" field, all externalCode field is equals to "T" then pass to the person records target structure. Please find the below input structure for reference.

Input Request:

kindly help me out in this condition mapping.

Thanks,

Thouheed

Accepted Solutions (1)

Accepted Solutions (1)

MartyMcCormick
Product and Topic Expert
Product and Topic Expert

Hi Thouheed

In your mapping, can you try setting the context of the node to the parent node and then you can check the externalCode field for T. Here is a good blog explaining contexts in mapping on CPI.

https://blogs.sap.com/2019/11/15/sap-cloud-platform-integration-cpi-use-cases-of-node-functions-in-m...

Thanks,
Marty

Answers (0)