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

scorchio’s picture

This 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.

hanoii’s picture

Priority: Normal » Major

I 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?

mitchell’s picture

Title: Can component variables be used as tokens in direct input mode? » Direct input mode cannot use tokens with component variables
Component: Documentation » Rules Engine
Category: support » bug
Priority: Major » Normal
Issue tags: +FAQ
milesw’s picture

mitchell’s picture

Title: Direct input mode cannot use tokens with component variables » Variables as tokens in direct input mode
Component: Rules Engine » Rules Core
Category: bug » feature
Status: Active » Closed (duplicate)
Issue tags: -FAQ

Let's merge this with the issue in #4. That one has a patch needing review.