How to add customised workflow to manage publication? | Community
Skip to main content
Adobe Employee
April 13, 2022
Solved

How to add customised workflow to manage publication?

  • April 13, 2022
  • 2 replies
  • 1251 views

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.
Best answer by lukasz-m

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:

2 replies

arunpatidar
Community Advisor
Community Advisor
April 13, 2022

Hi,

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

Arun Patidar
Adobe Employee
April 13, 2022

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

DEBAL_DAS
New Member
April 13, 2022
Debal Das, Senior AEM Consultant
lukasz-m
Community Advisor
lukasz-mCommunity AdvisorAccepted solution
Community Advisor
April 13, 2022

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: