We want to be able to include a “blank” entry (a ‘null’) as a value in a String Record used in a Data Group. Is it possible to do so and, if yes, what is the syntax for entering the Value to be included in the String Record?
Just to be clear, are you talking about the string (key), or its corresponding value? The system won’t let you use a null string, but you can definitely use a null value (though that changes with 11.4). If you do need a null string, I would recommend testing for that first, and then testing the data group. Example:
when HTTP_REQUEST {
if { ( $foo equals "" ) or ( [class match $foo equals my_dg] ) } {
do something
} else {
do something else
}
}