Parameters
NameTypeDescription
recordsys.data.RecordThe record where the interaction will be executed.
interactionsys.data.InteractionInteraction object to access parameters of the interaction.
Samples
 
//make the interaction visible if the type is 'a'
return record.field('type').val() == 'a';