/
fieldCondition
PhixFlow Help
fieldCondition
Function: fieldCondition
Returns a Pipe Filter Condition that can then be added to an andCondition() or to an orCondition() to construct a Pipe Filter which may then be used to perform a lookup on a Pipe.
Syntax
fieldCondition(attributeName, comparator, value)
Argument | Type | Description |
---|---|---|
attributeName | String | A String containing the name of the Stream Attribute whose value is to be compared. |
comparator | Comparator | The type of comparison to carry out (see Comparator) |
Examples
$filter = andCondition(), $filter = addElement( $filter, fieldCondition( "EventTypeId", _EQUALS, in.eventType) ), $filter = addElement( $filter, fieldCondition( "CatalogueId", _EQUALS, 3) ) setFilter( eventTypes, $filter )
Creates the Pipe Filter EventTypeId == in.eventType AND CatalogueId == 3 which is then assigned to the Pipe eventTypes using setFilter().
See Also
, multiple selections available,
Related content
fieldCondition
fieldCondition
More like this
fieldCondition
fieldCondition
More like this
fieldCondition
fieldCondition
More like this
fieldCondition
fieldCondition
More like this
andCondition
andCondition
More like this
Please let us know if we could improve this page feedback@phixflow.com