Parameters
NameTypeDescription
recordsys.data.RecordThe record where the interaction will be executed.
interactionsys.data.InteractionInteraction object to access parameters of the interaction.
Samples
 
//before interaction show set a field value.
interaction.field('sendTo').val(sys.context.getCurrentUser().email());