Can logic be used to change notifications dynamically?

Can logic be used to change notifications dynamically?

Are we able to use conditional statements to control what is displayed in a notification?  As an example, suppose I want to include the value of the $Priority variable in a notification that is sent to a user only if the value is "High."  Can we do something like the following?

IF ($Priority == "High") THEN $Priority  // I am just making up the syntax here.

                  New to ADSelfService Plus?