Keep track of Node revision in Workflow stage

Events happening in the community are now at Drupal community events on www.drupal.org.
vtsan's picture

Workflow only keep track of current node revision in the arbitrary workflow stage(s), what do I have to do if I want workflow to keep track of the node revision? For example, I create 3 stages as follow draft, review, publish. I have a Node which have 3 revisions. The first revision is in draft stage, and second revision in review stage, and third revision is in publish stage.

I note that the workflow_node table keep track of the node ID. If I want to keep track of the revision, I would add a version ID fields associate with the revisions table. What functions do I need to pay attention to when I do that.

Your comments and helps are greatly appreciated!

Comments

I'm in the process of doing

gbernier's picture

I'm in the process of doing this exact same thing vtsan, if you get any suggestions or directions please share. I'm doing my changes for a client who's got a very customized Drupal 5 site so sadly can't migrate to Drupal 6 at this point.

Workflow

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: