| Name | Type | Description |
|---|---|---|
| record | sys.data.Record | The record where the interaction will be executed. |
| interaction | sys.data.Interaction | Interaction object to access parameters of the interaction. |
//make the interaction visible if the type is 'a'
return record.field('type').val() == 'a';