Hi,
i had created the rules to update the node created date After moderation transition.
i set the conditions as
Content is of type,
Content is published,
Content's current moderation state
And Set the Action as
Set a data value
Parameter: Data: [node:created], Value: now
My issue is, node status is become unpublished to published but it's created date is not updated to current date.
I am using the Workbench Scheduler Module to publish the node on some date.
I also create the view to display latest five node from the content type using Content: Post date (desc)
As the node date is not updated by scheduler, my view not displaying the latest published node.
Comment | File | Size | Author |
---|---|---|---|
#2 | Blog_view.jpg | 97.24 KB | hiteshsassy |
Blog_schedular.jpg | 116.39 KB | hiteshsassy | |
Rules_for_Blog.jpg | 110.25 KB | hiteshsassy |
Comments
Comment #2
hiteshsassy CreditAttribution: hiteshsassy commentedComment #3
TR CreditAttribution: TR commentedYou didn't provide any Rules-specific details. For example, an export of the Rule. Also looking for the Rules debug output. Is the event triggering your Rule at all? Are the conditions satisfied? Have you made any attempt to figure out where the Rule is failing? If you set the node title, for example, does that work? Is it only the creation date that fails? Any error messages in dblog? etc.
Comment #4
TR CreditAttribution: TR commentedNo further information provided.