node creation in publication of a seperate node

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

Hi all,

I'm hoping that Rules can do this. Basically I have a content type that once it is approved via revisions module and published it is on the site and updates a variety of things. MY question is that once this node is published is there anyway I can have rules create a new node that is assigned to the creator of previously published node and send a tokenized email to creator saying please log in and fill out this form.

Thanks in advance!

Comments

Sure you can

itangalo's picture

The only thing I'm not sure about in your description is how Rules integrates with the Revisions module. However, if there is an event "Node changes status in revision" or similar, you can do all the things you list.

In short:

  • A triggered rule, triggering on the workflow event you describe.
  • Conditions, checking that the status of the node is "published" -- and probably that it is a node of the type you expect.
  • An action, loading a user object. This will be the original author of the first node.
  • An action, "Add new content". There are settings to determine the author of the new content. There are also settings to pass on the fresh node as an object/argument to the next action:
  • An action, "Send e-mail to a user". Use tokens to add a link to the fresh node, and send it off!

That should be it. Good luck!
//Johan Falk, NodeOne, Sweden

Basically the node is in

BruisedGhost's picture

Basically the node is in limbo until an admin decides to publish the node. Thanks Ill give this a shot!

Rules

Group organizers

Group categories

Categories

Group notifications

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