Closed (duplicate)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Rules Core
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2012 at 14:42 UTC
Updated:
25 Jun 2012 at 19:57 UTC
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 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 commentedComment #4
milesw commentedPlease try this patch: #1547160: Support variable substitution in direct input mode
Comment #5
mitchell commentedLet's merge this with the issue in #4. That one has a patch needing review.