calling a workflow on creating of a new version of document like map,topic | Adobe Higher Education
Skip to main content
djohn98390536
Level 4
January 24, 2024
Resuelto

calling a workflow on creating of a new version of document like map,topic

  • January 24, 2024
  • 1 respuesta
  • 708 visualizaciones

Is there any way to call a workflow on only creation of a new version of a document like map,topic in AEM guides.

please find the below 

onclick of this highlighted button save as new version button a workflow should trigger.

 

 

Thanks,

 

 

Este tema ha sido cerrado para respuestas.
Mejor respuesta de Anmol_Bhardwaj

Hey @djohn98390536 ,

 

Yes.

You can setup a servlet call on the click of this button, and then programmatically run the workflow from your code.

Interacting with Workflows Programmatically

 https://experienceleague.adobe.com/docs/experience-manager-65/content/implementing/developing/extending-aem/extending-workflows/workflows-program-interaction.html?lang=en

 

 

It might also be worthwhile to look at workflow launcher.

 

Workflows Launchers

The Workflow Launcher monitors changes in the content repository to launch workflows dependent on the location and resource type of the changed node.

 

Workflows Launchers

https://experienceleague.adobe.com/docs/experience-manager-65/content/sites/administering/operations/workflows-starting.html?lang=en#workflows-launchers

 

Thanks.

 

 

1 respuesta

Anmol_Bhardwaj
Community Advisor
Community Advisor
January 24, 2024

Hey @djohn98390536 ,

 

Yes.

You can setup a servlet call on the click of this button, and then programmatically run the workflow from your code.

Interacting with Workflows Programmatically

 https://experienceleague.adobe.com/docs/experience-manager-65/content/implementing/developing/extending-aem/extending-workflows/workflows-program-interaction.html?lang=en

 

 

It might also be worthwhile to look at workflow launcher.

 

Workflows Launchers

The Workflow Launcher monitors changes in the content repository to launch workflows dependent on the location and resource type of the changed node.

 

Workflows Launchers

https://experienceleague.adobe.com/docs/experience-manager-65/content/sites/administering/operations/workflows-starting.html?lang=en#workflows-launchers

 

Thanks.