Changes

SmartCheck Validation

3 bytes added, 17:45, 6 February 2023
Count contacts in a specific role
Used to ensure at least one contact is attached to the record in a specific role
<pre>if("@level1.[#(?object=contact::criteria=rolename IN ('Panel Reviewer - Pending','Panel Reviewer - Accepted')::groupfunction=count)~userid~#]@" < "1"){ { result.isPassed=false; result.addMsg("Please assign reviewers in the Panel Reviewer Pending or Panel Reviewer Accepted role."); }</pre>
===Defining VAR Variables===
Smartstaff, administrator
3,579
edits