1

I want to activate only the modified node in my Day CQ project. Node structure is:

Parent Node

  • Child Node 1
  • Child Node 2
  • Child Node 3

Requirement is:

  1. If I am creating any node under parent node workflow should run.
  2. Workflow should activate only newly created child node and parent node and not all child nodes.

Is it possible ??? Please give solution also in comment......

rgettman
  • 176,041
  • 30
  • 275
  • 357
user2688512
  • 161
  • 1
  • 1
  • 5

1 Answers1

1

This can be easily relaised in using the workflow console. Open the workflow console create a workflow model using in the models tab. Then open the model and add the "Activate Page/Asset Step [com.day.cq.wcm.workflow.process.ActivatePageProcess]" to the model. Save the model and switch to the launcher tab. Create a new launcher for the path of the your parent node and select event type "Created".

Thomas
  • 1,302
  • 9
  • 16
  • Hi Thomas Thanks for sharing your solution. But path provided in launcher is parent node. So it activates the parent node and not the child node that is newly created. or else it activates all child nodes. I want to activate only newly created node. – user2688512 Dec 13 '13 at 04:15