Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

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