Dynamic variables not resolving in long string

I re-wrote my issue to try to add clarity: