# Revision history [back]

The Jython script is called once per batch, and loops through the records in the batch, so the way to do this is:

# Assuming this is within the 'for record in records:' loop
tt = where_clause + isplit[0] + " = " + record.value[isplit[0]]
else:
tt = where_clause + isplit[0] + " = " + record.value[isplit[0]] + " AND "