Data Group in Switch

Hi,

I am just wondering how can we use Data Group in Switch syntax

for example something likes:

when HTTP_REQUEST {

switch [HTTP::uri] 

   [matchclass starts_with apps_list1] 
        use pool pool1

   [matchclass starts_with apps_list2]
        use pool pool2

Thanks

Use class match. Matchclass is outdated.

The Question is Can we use “class match” inside a Switch syntax ?