cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Message Mapping - node creation with condition

DLange
Participant
0 Likes
4,869

Hi community,

why is it no possible to bind the creation of an node in message mapping based on one element below this node? To make example:

In Pre exit the node E1KNVPM (right side) should be created only if specific values are in the PARVW element on the left side. When I add some logic / conditions e.g. with fixed values + ifWithoutElse none of those nodes will be created at all.

Thanks

Best regards

DL

Accepted Solutions (1)

Accepted Solutions (1)

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello

I think you need to adjust the context on the left side to be E1KVPM. And you should use CreateIf for your check.

I tested this out with a simple xml and it seems to work--see the image.

Thanks,
Marty

DLange
Participant
0 Likes

Hi Marty McCormick,

thanks. Proposed solution is working fine.

Thanks for that.

Best regards

DL

Answers (0)