How do I execute an action in drupal after each time a node is saved?

Posted by ford on Stack Overflow See other posts from Stack Overflow or by ford
Published on 2010-05-06T21:19:09Z Indexed on 2010/05/06 22:58 UTC
Read the original article Hit count: 134

Filed under:
|
|

I'm developing an Action in Drupal which is supposed to activate after saving a node, exporting content to XML (which includes data from the node that was just saved), using the "Trigger: After saving an updated post" trigger.

Unfortunately this action actually happens right before the information from the recently saved post is saved to the database. ie. when looking at the XML later, I find that the most recent change I made was not included. Saving after editing a different node will restore the previously missing data.

How can I get my action to fire after the saving process is complete?

© Stack Overflow or respective owner

Related posts about drupal

Related posts about drupal-6