Workflow to Publish only approved content | Community
Skip to main content
Level 2
May 13, 2022
Solved

Workflow to Publish only approved content

  • May 13, 2022
  • 3 replies
  • 1443 views

I'd like to create a workflow to publish but only on content that has been approved.

 

For example, say you have a workflow for content approval:

 

start approval workflow for content-fragment-1 -> content-fragment-1 approved -> end approval workflow

 

Then you would have 

 

start publish workflow for content-fragment-1 -> content-fragment-1 publish -> end publish workflow

 

But, what happens if someone makes a changes content-fragment-1 between the approval workflow and the publish workflow?

 

Is there a way to only publish approved content?

 

 

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 An1-3

@aem_party : Try to create one single workflow to achieve this . Lock the page once workflow started and unlock it once workflow finished. 

3 replies

An1-3Accepted solution
Level 4
May 13, 2022

@aem_party : Try to create one single workflow to achieve this . Lock the page once workflow started and unlock it once workflow finished. 

Himanshu_Jain
Community Advisor
Community Advisor
May 13, 2022
Himanshu Jain
AEM_PARTYAuthor
Level 2
May 13, 2022

Thanks for the replies and good points.

 

The reason there is no publish from the review flow is that we may want to hold the publish to a particular time (e.g. after business hours, wait until the weekend etc)

 

However, if a further edit takes place on the content after review but before publish we will end up with a non-reviewed change going out.

 

We could indeed lock the content until published but that seems draconian for a change that isn't scheduled to go out on a Friday night say.

MayurSatav
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
May 13, 2022

Hi @aem_party ,

 

I think the below blog will help you to get a clear understanding of what you are looking for. Please check let me know.

 

https://www.aemtutorial.info/2018/09/content-approval-workflows-in-aem-64.html?m=1#:~:text=There%20are%203%20major%20steps,Verify%20the%20workflow