Product Features
...
Statistical Functions
Switch
3 min
the switch processor sends the content of incoming messages to an output only when rule checks are met switch overview available rules to be checked are == equals for strings, input value and checked value need to be lexicographically equal != not equals for strings, input value and checked value need to be lexicographically different < less than for strings, input value needs to be lexicographically before checked value <= less than, or equals for strings, input the value needs to be lexicographically equal to or before the checked value > greater than for strings, input value needs to be lexicographically after checked value >= greater than or equals for strings, input value needs to be lexicographically equal to or after checked value is true only applicable for fields having bool data type is false only applicable for fields having bool data type is null given field should not be present in the input is not null given field should be present in the input is of type compares the datatype of field with given contains only applicable for fields having string or json data type for string datatype, the rules for comparison are done through golang strings compare field name , check value, and check value type represent what field to look for, for the comparison, what value to check for, and what is the expected type for the mentioned value output name is used to restrict/filter where to publish the output to if left empty, output will be published to all connected processors switch parameters true false 182false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type note when creating an analytics flow with switch processor, refer the use the switch processor function docid\ tcnblaem16y0fosqifwjh guide for more details