Hi all, I’m using RT 5.0.2
I created a script with a series of nested “if… else…”, is there a way to transform it with switch or case off or given? I couldn’t find a working way …
if ($Value->Content eq 'Networking') {
$actors[$count] = ('xxx@nuovocircondarioimolese.it');
$count ++;
} else {
if ($Value->Content eq 'Manutenzione') {
$actors[$count] = ('yyy@nuovocircondarioimolese.it');
$count ++;
}
} else ....