I want to use dashboard variable in alert rule

I am working on Grafana alert and cannot use dashboard variable in alert rule.

Here’s my MongoDB query.
db.collection.aggregate(
[
{$match: {code: {$in: [$_symbols]}}}
]
)

_symbols is a dashboard variable.

Hello,

Similar question: Use Dashboard Variables in Alerts
TL;DR: Dashboard variables are not supported in Grafana Alerting.

Thank you. @edsoncelio

I am making tons of notifications and want to filter them by predefined symbols. And it should be done by non-technical guys so I want to let them define symbols via GUI.

If I cannot use dashboard variables in alert rule, how can I add multiple OR matchers in notification policy? Like:

symbol = AB | CD

Thank you in advance.