I've got a rule like this...
EVENT
After updating existing content
CONDITIONS
Content is of type xxx
NOT Content is published - node-unchanged
Content is published - node
That works in detecting when nodes of a particular type are published. I then perform the following action...
Set a data value - node-unchanged:field-date, Value: now
This works perfectly but it stops the node from being published for some reason? I have to use the node-unchanged selector as the field is not detected on the node selector. I've also tried adding in an additional action of publishing the node which feels like a hack, this makes the node published but then the date value is not updated?
Comments
Comment #1
ptmkenny commentedIf the field is not detected for the node selector and you have to use the node-unchanged selector, this is probably a configuration error, not a bug in Rules. Have you tried adding a component to change the value of the published node after it has been published?
Comment #2
tr commentedNo further information provided.