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
Name | Type | Required | Description |
---|---|---|---|
objectName | string | Yes | The name of the object that the filter is for |
filterId | string | No (default="") | ID of the saved filter (from rules_engine_condition object) to prepare filters for. Not required if using expressionArray |
expressionArray | array | No | Configured expression array of the condition to prepare a filter for. Not required if using filterId. |
ignoreSegmentation | boolean | No (default=false) |