What do I need to modify to trigger my custom "Request for activation" or "Request for deactivation workflow"? Automatically the OOTB workflow gets triggered but i need to trigger my custom workflows. Thanks!
Solved! Go to Solution.
Views
Replies
Total Likes
In order to trigger custom workflow on click of manage publication, below are the steps:
2. Overlay popup will appear, Check Match Node Type checkbox and click on OK.
3. The structure will be created under apps, Now go to /apps/cq/gui/content/common/managepublicationwizard and add a property
sling:resourceSuperType and value of this property as /libs/cq/gui/content/common/managepublicationwizard
4. Now go to /apps/cq/gui/content/common/managepublicationwizard/body/items/form/granite:data path and add properties as
requestActivationWorkflow : /etc/workflow/models/custom_request_for_activation/jcr:content/model
requestDeactivationWorkflow : /etc/workflow/models/custom_request_for_deactivation/jcr:content/model
Now on manage publication for publish and unpublish your custom workflow will be triggered.
Note :
Thanks!!
In order to trigger custom workflow on click of manage publication, below are the steps:
2. Overlay popup will appear, Check Match Node Type checkbox and click on OK.
3. The structure will be created under apps, Now go to /apps/cq/gui/content/common/managepublicationwizard and add a property
sling:resourceSuperType and value of this property as /libs/cq/gui/content/common/managepublicationwizard
4. Now go to /apps/cq/gui/content/common/managepublicationwizard/body/items/form/granite:data path and add properties as
requestActivationWorkflow : /etc/workflow/models/custom_request_for_activation/jcr:content/model
requestDeactivationWorkflow : /etc/workflow/models/custom_request_for_deactivation/jcr:content/model
Now on manage publication for publish and unpublish your custom workflow will be triggered.
Note :
Thanks!!
Views
Likes
Replies