I realize I probably haven't tried this before, surprisingly. I'm attempting to shift a somewhat complex query into an ACP variable on a Send Email node, so I don't have to do the query twice in the template inputs (since the relevant query result is used in two different template input fields). I know it could be shifted into a PV, but I'm trying to avoid cluttering the process with even more PVs at this point.
Surprisingly, in the expression editor for the email node text, it doesn't seem to recognize even the existence of ACP variables.
I checked the official documentation for the send e-mail node, and it doesn't seem to mention ACPs or the data input tab at all.
I'd never thought about it before, to be honest, but it seems as if we should be able to declare an ACP and then refer to that from within the various expressionable fields in the Email setup. What's everyone else think? Should this have been obvious? Is it a missing feature, or a bug, even?
Discussion posts and replies are publicly visible
Did a quick test. Created an AC and used in in the subject. The node fails complaining about the missing variable.
I think this is because all the configuration is evaluated at the same time as the inputs.
That's funny because when I tested it, the node didn't fail but the data it attempted to call upon was just blank. But I used my ACP in a template replacement field, not the subject line, in case that makes any sort of difference.