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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hiteshsassy created an issue. See original summary.

hiteshsassy’s picture

FileSize
97.24 KB
TR’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

You 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.

TR’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No further information provided.