Question

Jython Evaluator erases field attributes?

  • 7 September 2022
  • 1 reply
  • 33 views

Hi, just want to get familiar with the jython evaluator since I want to do some bulk operations on fields with a certain type which would be hard to do otherwise.

Playing with the default script code provided (iterating through the records and writing back each record unchanged) I noticed that all the field attributes (e.g. precision and scale for Decimal types) are gone.

Is this a defect or do I miss something? Would be very inconvenient to recreate these attributes.

Please refer to the Preview screen shot.

Any comments?

 

 


1 reply

Hmm. I think I can answer my own question. If I set the record type to “Data Collector Records” the field attributes are preserved. Thank you :)

Reply