Active
Project:
Webform Rules
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2016 at 19:48 UTC
Updated:
21 Sep 2016 at 19:48 UTC
Jump to comment: Most recent
When using the 7.x-1.x-dev version with Webform 4.10, tokens used (at least in Send Email action) are rendered as blank.
Rule appears as follows -

Have I configured something wrong?
Thanks,
Todd
| Comment | File | Size | Author |
|---|---|---|---|
| webformRules.png | 58.85 KB | tclnj |
Comments
Comment #2
pauldolphin commentedHave you tried fetching the submission by sid? Add a fetch action before the send email action you have in your current rule.
Add and action: Fetch webform submissions
Parameter: Node ID: [node:nid], Submission ID: [data:sid]
Provides variables: Fetched submission (fetched_submission)
This should give you the data for a given submission. I've have mixed results using tokens. Printing using php should work though.
<?php print $data->your_webform_field[0]; ?>