I don't know if this would be useful for anybody else of not. I was working with a simple workflow performs some actions when a node is published or unpublished. I didn't want to go through the hassle of adding an extra cck field just to keep track of this simple workflow case and thought that it might be useful to have node status as a token as well as promote and sticky.

CommentFileSizeAuthor
workflow_ng_token.inc_.patch1.29 KBjsenich

Comments

fago’s picture

Status: Needs review » Fixed

thanks, that makes sense! If adapted your patch a bit, so that the token returns yes / no. -> committed
So you might have to fix your configurations to make use of yes/no.

It would be awesome if you could share your use case with others. I think such a simple workflow is interesting for a lot of people. Perhaps add it as a small tutorial and/or export your configuration and describe your use case.. -> docs: http://drupal.org/node/156282 That would be really great! :)

Anonymous’s picture

Status: Fixed » Closed (fixed)

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