Hi y'all,
Not sure if this is a Rules or a Variable issue, but I'm finding that when a rule fires with an action loop that has a component rule in it that conditionally sends an email, no tokens are replaced in that email. It is sent to the proper address, but the tokens just don't work.

I can verify that my variable emails are properly filling the tokens in other rules, it only seems to happen when the email is fired from inside a component rule.

Comments

Abenezer’s picture

I figured out that the tokens weren't brought into scope when they were inside of a condition (specifically, the customer billing fields attached to an order. I tried for a long time to bring the fields into scope, but it got extremely convoluted, so used the conditional rules module to solve my problem.

ptmkenny’s picture

Status: Active » Closed (fixed)
ptmkenny’s picture

Status: Closed (fixed) » Closed (works as designed)