Parameters
NameTypeDescription
recordsys.data.RecordThe record where the action will be executed. This variable is only available if the type of the action is One record.
Returns
boolean - true if conditions are met, false otherwise.
Samples
 
//make the action visible if the type is 'a'
return record.field('type').val() == 'a';