Solved

syntax for <null>


Badge +4

What is the FME syntax required to assign a <null> value? Inputting <null> seems to return the string '<null>' and not a bonefide <null> (greyed out FME version). Some fields offer <null> in the drop down, but some do not and require the user to input, such as...

imageThank you.

Tyler

FME WorkBench 2021.0

icon

Best answer by ebygomm 13 July 2022, 16:40

View original

3 replies

Userlevel 4

I agree that it doesn't seem possible to assign a null value there. The easiest is probably to use a NullAttributeMapper after the StringReplacer.

Userlevel 1
Badge +21

I wouldn't expect null to be possible there since partial replacements are possible, how would null be handled if only part of the string was selected to be replaced?

 

To replace with null you can use regex or string matching in the NullAttributeMapper, no need for a StringReplacer

Badge +4

I wouldn't expect null to be possible there since partial replacements are possible, how would null be handled if only part of the string was selected to be replaced?

 

To replace with null you can use regex or string matching in the NullAttributeMapper, no need for a StringReplacer

Thx.

Reply