Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a common use case. When using rules scheduler to send out emails, I would like to include a component variable (e.g. Name) in the mail body. Is this at all possible?
Comments
Comment #1
scorchio CreditAttribution: scorchio commentedThis should be possible - with data selection we could use the contents of the variable, however I was unable to get a variable parsed in direct input mode.
Comment #2
hanoiiI have the same requirement. Seems pretty obvious but it doesn't seem to be working. I am working on a new action for print pdf and I can expose a variable that can be used as a data selection on another action but I cannot get to use it by direct input. I am looking into this to allow the use of different variables on one single input.
Very similar to what's been asked on #1262904: Why are Replacement Patterns for Direct Input much more restricted than Data Selectors?
Comment #3
mitchell CreditAttribution: mitchell commentedComment #4
milesw CreditAttribution: milesw commentedPlease try this patch: #1547160: Support variable substitution in direct input mode
Comment #5
mitchell CreditAttribution: mitchell commentedLet's merge this with the issue in #4. That one has a patch needing review.