How to get the token [node:nid] with "content is going to be saved"

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

Hello,

I am using the rules module (6.x-1.4) for a few time and I don't understand how to get the [node:nid] token with "content is going to be saved" event

Detaills of rules elements

If
User has role (role defined => ok)
Save content is (content type defined => ok)

do
send email

In the message field, I would like to write the internal url of drupal like this
http://mydomain.com/node/[node:nid]/edit

but [node:nid] is not defined, why ?

In another rule defined with "After updating existing content" event, no problem, the [node:nid] token is well defined.

What do I do ??
Thanks a lot

Comments

ok, I founded a solution in

ibozo's picture

ok, I founded a solution in the Faq of rules module.
http://groups.drupal.org/node/15542#missing-nid

Much appreciated...Been

giorgio79's picture

Much appreciated...Been struggling with this.

****Me and Drupal :)****
Clickbank IPN - Sell online or create a membership site with the largest affiliate network!
Review Critical - One of my sites

Rules

Group organizers

Group categories

Categories

Group notifications

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