The Scoped GlideFilter API provides a method to determine if a record meets a specified set of requirements.
There is no constructor for Scoped GlideFilter. It is accessed by using the global object "GlideFilter".
checkRecord(GlideRecord now_GR, String filter, Boolean match)
Compares a specified filter to the contents of a specified GlideRecord. If the specified filter contains one condition, the method returns true if the record meets the condition of the filter. If the specified filter contains more than one condition, for example "active=true^number=abc^category=request", you can use the match parameter to define whether all conditions must be met to determine a match or just a single condition.
Comments