Drupal 7 Rules : How to get Node Object (from Custom PHP) after a node event is triggered? In Drupal 7, i am setting up a rule. That rule is applying to trigger on the Node Save event.


After the node is saved [Condition] and the rule is properly triggered, then how can i get that saved Node Object ($node) from the Execute Custom PHP Code [Action]?


Because i put var_dump($node) (in the Custom PHP Code Box) but it doesn't work.
you can use watchdog("&lt;pre&gt;".print_r($node,true)."&lt;/pre&gt;",'debug');then see the log in admin/reports/dblog 
also you can define your own action use  hook_rules_condition_info().
This link may help.