Routing Notification for Multiple Select Choices [RESOLVED]

Sourcegravityforms.com
Enquirer Profilegravityforms.com
Problem Outline

I am migrating form from Caldera to Gravity and we are stuck with the Routing notification for 2 selected values. Basically we have a form select field for Practice Area and a select field for County.
So email-1 should receive notifications when:
Practice Area → Business Law AND is County → Sussex,
So email-2 should receive notifications when:
Practice Area → Business Law AND is County → New Castle,
So email-3 should receive notifications when:
Practice Area → Nursing Law AND is County → Sussex,

Unfortunately, this is not possible with the current routing rules as the only available conditions were (is, is not, greater than, less than, contains, starts with, ends with)

TopicNotifications
Solution

add_filter( 'gform_notification', 'change_notification_email', 10, 3 );

function change_notification_email( $notification, $form, $entry ) {
$practice_area = rgar( $entry, '2' );
$county = rgar( $entry, '3' );
if ($practice_area == "Business Law" && $county == "Sussex") {
$notification['to'] = "email-1@example.com";
} elseif ($practice_area == "Business Law" && $county == "New Castle") {
$notification['to'] = "email-2@example.com";
} elseif ($practice_area == "Nursing Law" && $county == "Sussex") {
$notification['to'] = "email-3@example.com";
}
return $notification;
}

Solution TypeSnippet
Expert Profilehttps://community.gravityforms.com/u/faisalahammad/summary
ConfirmedYes