Publish Page when page properties is updated via workflow | Community
Skip to main content
Level 3
May 24, 2022 6:51 AM UTC
Solved

Publish Page when page properties is updated via workflow

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 

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
May 24, 2022 8:14 AM UTC

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-starting.html?lang=en#workflows-launchers
  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

3 replies

lukasz-m
lukasz-mAccepted solution
New Participant
May 24, 2022 8:14 AM UTC

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-starting.html?lang=en#workflows-launchers
  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
Translate
arunpatidar
New Participant
May 24, 2022 8:03 AM UTC

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-starting.html

 

Translate
Arun Patidar
Himanshu_Jain
New Participant
May 24, 2022 7:27 AM UTC

Add a process step .

  • Title: Publish Page as Requested

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

Translate
Himanshu Jain