cancel
Showing results for 
Search instead for 
Did you mean: 

Value mapping with special chars like an empty string

Former Member
0 Kudos

Is there any possibility in PI 7.1 to escape an empty string as resulting value for a value mapping within the configuration?

E.g. Value mapping should produce form 1 --> ""

but how to escape it not to get " Runtime exception when processing target-field mapping /ns1:taa_getOffer/ns1:taa_Request/ns1:taa_Angebot/ns1:taa_Verkaufsprodukt/ns1:taa_ProduktlebenCT_Produkt/ns1:taa_Kondition/ns1:allgemein_ErweiterungaxalebenCT_KonditionErweiterung/ns1:axaleben_RabattVerein; root message: No value found for '1' "

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Georgios

a solution should be to not have an empty value in the Value Mapping.

For instance: as you want : toto --> "", a solution could be:

1. in value mapping to have: toto --> EMPTY with "EMPTY" written

2. and then in the mapping, after the calling of your Value Mapping to replace the value "EMPTY" by "".

Regards.

Mickael

Former Member
0 Kudos

No workaround required here, I could also do a fix-value-mapping

Former Member
0 Kudos

fix-Value is like a hard-coded... so be very careful when you use it. you have to think by who / when the data could be changed in the future...

Mickael