Drupal Rules Condition: Node unpublished

Custom condition for Rules Module: detect, if is node unpublished.

Or you can import this code as Component in your Rules under /admin/config/workflow/rules/components/import :

{ "rules_node_is_unpublished" : {
    "LABEL" : "Node is unpublished",
    "PLUGIN" : "and",
    "REQUIRES" : [ "rules" ],
    "USES VARIABLES" : { "node" : { "label" : "Node", "type" : "node" } },
    "AND" : [ { "NOT node_is_published" : { "node" : [ "node" ] } } ]
  }
}

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • chart icon13 sites report using this module
  • Created by Evgenij on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases