cancel
Showing results for 
Search instead for 
Did you mean: 

MessageMapping : MapwithDefault

Former Member
0 Kudos

Hi,

I was trying to apply default value to all the blank values in a particular element .It doesn't work.

Has anybody used MapwithDefault node function.

THnks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

MapWithDefault maps the specified value if the tag does not exist in the source message. In otherwords, it replaces ResultList.SUPPRESS values with specified values. It does not replace empty vlaues. For this purposes you can try it with replaceValue.

praveen

Answers (2)

Answers (2)

Former Member
0 Kudos

THnks Praveen,Moorthy.I guess we can use exist and an if-else on it and pass a constant or use this ....would that be a right statement.

moorthy
Active Contributor
0 Kudos

Yes, you can do this..

Thanks,

Moorthy

moorthy
Active Contributor
0 Kudos