I wish to create a rule that does the following.

When a User in role X updates a page, create a new revision of that page.

I do not want the new version of the page to be published until it is approved. I do not see "Create New Revision" or similar in the rules. Am I missing something?

Thanks,
Gary

Comments

fago’s picture

Component: Rules Core » Rules Engine

for the not-publishing part, you'd need the revision moderation module. Else, we would need an action to control the publishing options of a node.

cclafferty’s picture

*bump*

Also looking to create a new revision as an action. Similar to "Save a content". Maybe a "Save a revision"?.

jeff.k’s picture

+1
me too

nickbits’s picture

I would love to see this as a feature as well. With the addition that the currently live revision remains live until the new revision has been moderated. Testing out ( http://drupal.org/project/revision_moderation ) to see if it plays ball with Rules.

Anyway, still a fantastic module...
Nick

Les Lim’s picture

Status: Active » Closed (won't fix)

This is definitely not for the Rules module to implement.

#376468: Fixes, Integrating Rules Module and New Tokens could use some testing.

brnnrc’s picture

Status: Closed (won't fix) » Active

Sorry in reopening issue,
I set a rule with "save a content" triggered by "click on button" on a content type having "Create new revision" (drupal core revisions) checked. Obviously when I edit and save a content it creates a new revision.
When I click on button it saves the content but it doesn't create a new revision instead.
Am I missing anything?
many thanks
Enrico

helmo’s picture

Component: Rules Engine » Rules Core
Issue summary: View changes
Status: Active » Closed (duplicate)
Related issues: +#1196532: allow for creation of revisions