I am looking for checking the state of a node to apply action with rules. The problem is that workflow module just provide action with rules module.

Can I use a php snippet as condition with rules to check the status of the node?

Thanks gies

Comments

nrackleff’s picture

I am subscribing because I have a similar issue. I need to build a rule that checks to see if the workflow state changed from draft to review. If it has, I will then need to figure out a way to send an email to the appropriate editor based on who authored the node.

crea’s picture

@nrackleff: and what is stopping you from using module posted in #370111: Rules integration for Workflow ?

nrackleff’s picture

I'll give it a try. Thanks for the input. -Nancy

Bastlynn’s picture

Status: Active » Closed (won't fix)

Since this request is over 2 years old, I'm going to assume a solution was found or you've moved on. If not, please get updated to the latest versions of all modules and make a request for it against Drupal 7 and I'll be glad to take a look at it.

johnv’s picture

Category: Support request » Feature request
Issue summary: View changes
Status: Closed (won't fix) » Closed (duplicate)

Seems a duplicate of #370111: Rules integration for Workflow, which is fixed in the same version.