How to add customised workflow to manage publication? | Community
Skip to main content
Employee
Apr 13, 2022 10:52 AM UTC
Solved

How to add customised workflow to manage publication?

Hi,

 

I have created a custom workflow to publish a page under /conf directory. I need to use this workflow in manage publication. Is it correct to add custom workflow which is in /conf folder? bcz I was getting this error in console when I added my workflow

"Cannot create workflow model from node: /conf/global/settings/workflow/models/awsevents/content-approval-workflow".

 

Please let me know if there's any other ways to add workflow in manage publication.

 

Thank you.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
lukasz-m
lukasz-mAccepted solution
New Participant
Apr 13, 2022 2:31 PM UTC

Hi @keerthana_h_n,

If I good understand, you would like to run your own workflow from Manage Publication option. If so you will need to overlay bellow path

/libs/cq/gui/content/common/managepublicationwizard/body/items/form/granite:data

and change requestActivationWorkflow property value to point to your custom workflow model from /var.

Here are some links where you will find description step by step what needs to be done:

4 replies

lukasz-m
lukasz-mAccepted solution
New Participant
Apr 13, 2022 2:31 PM UTC

Hi @keerthana_h_n,

If I good understand, you would like to run your own workflow from Manage Publication option. If so you will need to overlay bellow path

/libs/cq/gui/content/common/managepublicationwizard/body/items/form/granite:data

and change requestActivationWorkflow property value to point to your custom workflow model from /var.

Here are some links where you will find description step by step what needs to be done:

Translate
arunpatidar
New Participant
Apr 13, 2022 11:20 AM UTC

Hi,

you need to add same model at /var/ as well e.g.  /var/workflow/models/awsevents/content-approval-workflow

Translate
Arun Patidar
Employee
Apr 13, 2022 11:26 AM UTC

Yes this model is already in /var folder tried adding this path still it'll pick the default publish workflow

Translate
DEBAL_DAS
New Participant
Apr 13, 2022 2:30 PM UTC

Could you please refer following article: https://bimmisoi.blogspot.com/2020/07/aem-trigger-customized-workflow-on.html

 

Translate