Slow script datamapper

Hello @JulienBat ,

Can you also please share an example of a value set for the record field Calcul_Fin_Alize?


Following is the transcription of the JavaScript code.

var alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
var field = record.fields.Calcul_Fin_Alize;
var result = "";

if (field !== "" &&  !isNaN(field)) {
	var position = parseInt(field) - 1; // Index starts from 0
	
	if (position < 23) {
		result = alphabet.charAt(position);
	}
}

result;