Hi,
Can anyone advise, please, how to create a rule action to make the edited node looks like as newly created one? (in other words, set is_new variable to TRUE)
Thanks

Comments

TR’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

You can't. (And probably shouldn't, even if you could.)

'is_new' is not a Drupal concept - once a node has been created and saved, there is no way of telling if it is "new" other than looking at the creation timestamp. 'is_new' is a temporary flag set by the Entity API during the creation of the node, when the creation is not finished yet and the node is not fully saved. You can't go back to that state - once it's created, it's created and the temporary flag disappears.