I have created ${N=SWQL;M=SELECT Alert_Response_Team_Email FROM Orion.AlertConfigurationsCustomProperties WHERE AlertID = 563} which I put into the To field of an Alert Email Action but would really rather it be something like ${N=SWQL;M=SELECT Alert_Response_Team_Email FROM Orion.AlertConfigurationsCustomProperties WHERE AlertID = '${AlertID}'}. However when I use the one with the variable, the To field contains "${N=SWQL;M=SELECT Alert_Response_Team_Email FROM Orion.AlertConfigurationsCustomProperties WHERE AlertID = '00000000-0000-0000-0000-000000000000'}".
I did also try ${N=SWQL;M=SELECT Alert_Response_Team_Email FROM Orion.AlertConfigurationsCustomProperties WHERE AlertID = '${Alert.AlertID}'} which resulted in ${N=SWQL;M=SELECT Alert_Response_Team_Email FROM Orion.AlertConfigurationsCustomProperties WHERE AlertID = '${Alert.AlertID}'}
...and ${N=SWQL;M=SELECT Alert_Response_Team_Email FROM Orion.AlertConfigurationsCustomProperties WHERE AlertID = '${N=Alerting;M=AlertActiveID}'} which resulted in ${N=SWQL;M=SELECT Alert_Response_Team_Email FROM Orion.AlertConfigurationsCustomProperties WHERE AlertID = ''}
How can I properly configure this variable?