Is there any way to check if an image field has no value after saving the content? I tried with Data Value is Empty, but it doesn’t work.
These are the exported rules I am using.
{ "rules_autos_featured_listing_without_image" : { "LABEL" : "Autos: featured listing without image", "PLUGIN" : "reaction rule", "OWNER" : "rules", "TAGS" : [ "autos" ], "REQUIRES" : [ "rules" ], "ON" : { "node_insert--listing" : { "bundle" : "listing" } }, "IF" : [ { "entity_has_field" : { "entity" : [ "node" ], "field" : "field_listing_grouping" } }, { "entity_has_field" : { "entity" : [ "node" ], "field" : "field_feature" } }, { "entity_has_field" : { "entity" : [ "node" ], "field" : "field_images" } }, { "data_is" : { "data" : [ "node:field-feature" ], "value" : { "value" : { "feature" : "feature" } } } }, { "data_is_empty" : { "data" : [ "node:field-images" ] } } ], "DO" : [ { "data_set" : { "data" : [ "node:field-listing-grouping" ], "value" : "1302" } } ] } }