Parameters
NameTypeDescription
recordsys.data.RecordThe record being rendered on the view.
Returns
boolean - true if preconditions are met, false otherwise.
Samples
 
//preconditions for automatic refresh are met if type is 'a' and current user is in group 'test'
return record.field('type').val() == 'a' && sys.context.getCurrentUser().containsGroup('test');