I have a forum site, and I set up Tokens to alert me whenever a post or comment is saved. There are tokens for the post title, URL, etc. For the post Action, the whole thing works great. For the comment Action, the tokens are passed through without being evaluated. The two Actions are right next to each other on the Actions page, are triggered by the same threads, and even use some of the same tokens. Why does one work and the other not?

Comments

estebandido’s picture

I was able to narrow it down to the Action, as opposed to the code. I did this by pasting the code from each action into the other. In the post one, all tokens worked. In the comment one, all tokens failed.

I also tried creating a new Action, and it failed, too.

estebandido’s picture

...turns out all tokens that apply to comments *must* begin with [comment:...]

It would be nice if that appeared in the documentation somewhere.