AnsweredAssumed Answered

How do I limit a field to 249 characters without using validation?

Question asked by rhondab on Nov 16, 2017
Latest reply on Nov 16, 2017 by coherentkris

I have a script that is getting a field called notes and writing it to a temporary table.  This script will be processing hundreds of records and I don't want that validation pop up.  I just want to write the first 248 characters to the temporary notes field.  This is what I have so far.

If [ Length ($$CurrentNotes > 248) ]

I wish I could truncate ($$CurrentNotes) here but I can't.  I am not sure how to limit this field here.

End If

Set Field[CallCenter:: CC_Notes; $$CurrentNotes]

Thank you for your advice.