A developer needs an existing workflow to run only when pages are created under a certain folder?
What should the developer create to achieve this?
A. A Launcher with the field exclude that has the value !jcr:nodetype==cq:Page.
B. A Launcher with the field path pointing to the folder and nodetype field have the value cq:Page.
C. A Launcher with the field path pointing to the folder and condition field and have the value jcr:content/jcr:primaryType==cq:Page.
D. A Launcher with the field condition that has the value jcr:content/page.
B is the correct answer
B. A Launcher with the field path pointing to the folder and nodetype field have the value cq:Page.
C. A Launcher with the field path pointing to the folder and condition field and have the value jcr:content/jcr:primaryType==cq:Page.
Answer should be B.
>B
Under /libs/cq/workflow/admin/console/content/launchers.html you can see list of all workflows and list of all Nodetype used
B.
jcr:content has nt:unstructured primary type not a cq:Page.
C
Answer: B
References:
http://localhost:4502/libs/cq/workflow/admin/console/content/launchers.html
Answer is B. stupid