AnsweredAssumed Answered

move node thanks to a scheduled action

Question asked by thibaut on Nov 21, 2007
Latest reply on Nov 21, 2007 by thibaut
Hello,

i'm trying to implement a scheduled action which allows to move content node in an other folder .

My code is

nodeService.moveNode(currentNode, refSpaceDestination, ContentModel.ASSOC_CONTAINS, QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI,nameDoc));

when i execute  my sheduled action, i see no errors or exeptions but my node isn't deplaced.
I think i've forgotten something but i don't know why. (maybe a transaction ? ) . My scheduled uses the user system .

THanks for you answer !

Outcomes