Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Publish Page when page properties is updated via workflow

Avatar

Level 3

Is there a possibilty that we can publish page by a workflow automatically whenever the page properties of the specific page is updated?

 

If yes..

 

Please provide a possible solution for the same.

 

Thank you,

Janhavi 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @janhavi_singh,

If I good understood, you would like specific workflow to be run when you change page properties. There are many ways to do this.

  1. You can configure workflow launcher. Assuming that all page properties are stored under cq:PageContent node, you can try similar configuration to below. Of course you have to select proper content path, workflow you would like to be executed, and maybe extend list of properties that should be ignored/excluded.
    Some workflow launcher related documentation:
    https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/workflows-sta...
    launcher.png
  2. You can create event handler and sling jobs that will run specific workflow. https://sling.apache.org/documentation/bundles/apache-sling-eventing-and-job-handling.html

View solution in original post

3 Replies

Avatar

Community Advisor

Add a process step .

  • Title: Publish Page as Requested

  • Process: select Activate Page. This process publishes the selected page to the publisher instances

Himanshu Jain

Avatar

Community Advisor

Hi,

You can create a workflow launcher on modify for resource(jcr:content) and trigger a workflow.

https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/workflows-sta...

 



Arun Patidar

Avatar

Correct answer by
Community Advisor

Hi @janhavi_singh,

If I good understood, you would like specific workflow to be run when you change page properties. There are many ways to do this.

  1. You can configure workflow launcher. Assuming that all page properties are stored under cq:PageContent node, you can try similar configuration to below. Of course you have to select proper content path, workflow you would like to be executed, and maybe extend list of properties that should be ignored/excluded.
    Some workflow launcher related documentation:
    https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/workflows-sta...
    launcher.png
  2. You can create event handler and sling jobs that will run specific workflow. https://sling.apache.org/documentation/bundles/apache-sling-eventing-and-job-handling.html