Hi.

Using tokens replacement in the Rules module.

the [node:nid] token is empty: doesn't print anything (I am sending email with this token). Other tokens I use in this email are working.

Could this be modules 'weight' issue?

Any suggestions how to fix this?

Comments

greggles’s picture

Project: Token » Rules
Component: Code » Provided module integration

[node:nid] is not a token, but I guess is something from rules.

@fago?

amitaibu’s picture

Component: Provided module integration » Documentation
Status: Active » Postponed (maintainer needs more info)

You are probably trying to use it on an event 'New content is going to be saved' - in this case there is still no nid. You need to use 'After content has been saved'.

If this solves the problem please mark the issue as fixed.

fago’s picture

Status: Postponed (maintainer needs more info) » Fixed

I think that's it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.