Thanks for the update and glad to hear you got it sorted out.
For future reference, the Expression editor has an autocomplete feature. When you start typing $ it will automatically prompt with a list of variables.
Not necessarily directly related to your post, but the first item in the list is $. which is a special placeholder to pull up the list of common expression functions.
For the $context variable, once you select it from the list or type the trailing period as $context. it will bring up the next tier of Context Variable groupings: