Parameters
NameTypeDescription
recordsys.data.RecordThe record where the action will be executed.
Returns
boolean - true if preconditions are met, false otherwise.
Samples
 
//preconditions of the action are met if type is 'a' and current user is in group 'test'
return record.field('type').val() == 'a' && sys.context.getCurrentUser().containsGroup('test');