March 2017
Beginner
358 pages
9h 51m
English
This example assumes it's running inside of a before business rule, which means that the current object is pre-populated with a GlideRecord corresponding to whichever record was inserted or updated, triggering the business rule to run:
if (current.getValue('active') == 'false') { current.setAbortAction(true); } if (gs.hasRole('admin')) { current.setAbortAction(false); }
Read now
Unlock full access