This kinda feels like cheating but...
You can use a regex in the NullAttributeMapper:
The second option, "Or If Attribute Value Is:" only seems to accept specific values so this is probably the easiest workaround.
This kinda feels like cheating but...
You can use a regex in the NullAttributeMapper:
The second option, "Or If Attribute Value Is:" only seems to accept specific values so this is probably the easiest workaround.
Don't mind a cheat! Thanks, worked perfectly.
Hi @jacklonsdale, alternatively you can use the ExpressionEvaluator with the Overwrite Existing Attributes mode.
@CurrentAttribute() < 0 ? 0 : @CurrentAttribute()
I would use an ExpressionEvaluator after the AttributeManager in Mode Overwrite Existing Attributes with the expression
@CurrentAttribute() < 0 ? 0 : @CurrentAttribute()
and select your 24 attributes to overwrite.