I have a rule in which a php action modifies and saves a particular node. A second action loads that node, and a third sends an email which uses several tokens from the same node. However, the email shows the old values for the fields, not the new ones. This happens even though the load node action occurs AFTER the node is modified.

When I view the node it appears as expected, with the modified content.

Comments

dafeder’s picture

dafeder’s picture

Nevermind, missed the small print at the bottom of the textarea for my php code. Added a line at the end

return array("node_loaded" => $node_loaded);

and it now works as expected.

fago’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.