Thanks for reply. Also, please check the Password and Username field of SQL actions, neither of them accepts variables. But Server name field works fine.
I could only find one action where the password field didn’t expand variables, can you tell me which actions you tried where it didn’t expand the variables?