Parameters
NameTypeDescription
recordsys.data.RecordThe record where the interaction will be executed.
interactionsys.data.InteractionInteraction object to access parameters of the interaction.
Samples
 
//updates some values in the record
var newValue = interaction.field('param1') * 10;
record.field('field').val(newValue);