Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: mmarinelliIf you have a fixed set of validation values, then you can do all of this with the Split node, with the boolean expression containing all the individual test values, like the following:
(LEVEL >= 1 and LEVEL <=5) or
(LEVEL == "A" or LEVEL == "B" or ...)
If the set is variable, you can employ Lookup nodes, which are optimized for this sort of operation, and as such are much efficient than a series of Xrefs. This node doesn't require sorting, and does not traverse the entire key sets for each input like the Xref can. The combination of a Lookup node and a Static Text node (or another input node, if the valdation set is maintained in a dynamic file) will give you what you want.
Best practice would suggest that any approach employ one node per field test, as you then achieve the visual separation of the individual rules. If this is a big impediment to speedy execution, you can of course combine into a single filter, but you then lose the ability to isolate records based upon which field validation failed.