I'm currently stuck in the creation of a custom rule. I've created a content type "Avviso" with a publishing date field (start & end) and a custom field_stato with this values:
- Not active
Now I would like to change the value of field_stato and publish all nodes with date_start < now < date_end. For that I've created a view with a VBO field, a Rule (triggered by the cron) and a component (of type rule) that do the job.
The problem is that the rule can see only node already published and -of course- cannot switch the node itself to "Published" state. With already published nodes the rule works fine.
Is there any restriction or permission with rules and unpublish content=?