before query business rule

 on sysapproval_approver table

for example, to prevent inactive users from being sent approvals for Knowledge article approvals

(function executeRule(current, previous /*null when async*/ ) { //--STRY0010678 current.addQuery("approver.active", true); })(current, previous);

Comments

Popular posts from this blog

Running transform maps asynchronously

GlideRecord setValue

Post a command to the ECC queue for the mid server to initiate a powershell file copy