Secondary Variable Evaluation

Hi Team,

I’m creating an email task to notify my team when deployment hits certain environments. I’m having issues with variable evaluation.

Given this setup:

Subject: Website Deployment https://#{DNSRecord}.#{DNSZone}/
Body: Deployment of Website has completed and available at https://#{DNSRecord}.#{DNSZone}/

The first variable #{DNSRecord} evaluates, but the second doesn’t, it just prints out “#{DNSZone}”.

Does the templating system have an issue with a variable tag being preceeded by a period .?

I’ve realised the issue here - I had bound certain variables to certain roles, so were not being evaluated.