This is driving me crazy - pretty sure it's my knowledge of Java
(name value pair context file)
row1.Column0 is String
row1.Column1 is String
When (0) is LastBatchId, position (1) is treated as int which we want to increment plus 1
? Integer.parseInt(row1.Column1)+1 : "0"
Testing in the expression builder works, but executing and expression warning output is throwing this error
Type mismatch: cannot convert from Object...to String.
I am output all pairs to as strings. See screen shot for better idea.
Any help welcome