prepareFilter()

Overview

public struct function prepareFilter(
      required string  objectName        
    ,          string  filterId           = ""
    ,          array   expressionArray   
    ,          boolean ignoreSegmentation = false
)

Prepares a preside object filter based on the passed object name and configured set of rules engine expressions (i.e. a condition)

Arguments

NameTypeRequiredDescription
objectNamestringYesThe name of the object that the filter is for
filterIdstringNo (default="")ID of the saved filter (from rules_engine_condition object) to prepare filters for. Not required if using expressionArray
expressionArrayarrayNoConfigured expression array of the condition to prepare a filter for. Not required if using filterId.
ignoreSegmentationbooleanNo (default=false)