Skip to main content
Level 2
November 12, 2022
Solved

How to store custom workflows and launcher into codebase

Hi there, 

    What is the best practice in storing workflows and launcher configs into your github repository?

 

Thanks,

-Leo

Avinash_Gupta_
Avinash_Gupta_Accepted solution
Adobe Champion and Community Advisor
November 13, 2022

@manlosa2 : Custom workflows model and launchers need to created under this path /conf/global/settings/workflow. Same folder path would need to be created in your repo as well.

 

 

 

Here is the link for extending the workflows and create a custom workflow https://experienceleague.adobe.com/docs/experience-manager-65/developing/extending-aem/extending-workflows/workflows-models.html?lang=en#editing-a-default-or-legacy-workflow-for-the-first-time 

 

Hope this helps.

5 replies

Avinash_Gupta_
Adobe Champion and Community Advisor
Avinash_Gupta_Adobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
November 13, 2022

@manlosa2 : Custom workflows model and launchers need to created under this path /conf/global/settings/workflow. Same folder path would need to be created in your repo as well.

 

 

 

Here is the link for extending the workflows and create a custom workflow https://experienceleague.adobe.com/docs/experience-manager-65/developing/extending-aem/extending-workflows/workflows-models.html?lang=en#editing-a-default-or-legacy-workflow-for-the-first-time 

 

Hope this helps.

Translate
Mani_kumar_
Community Advisor
Community Advisor
November 13, 2022

Simple Funda for committing the changes to git for anything in AEM is take the package for those content extract the zip once package is downloaded and then copy the structure in the respective project folder.

Add the filter in the module filter.xml to make sure it is available in the next deployment.

Translate
manlosa2Author
Level 2
November 15, 2022

Thanks, Manikumar. This gave me the clarity I needed.

Translate
Mayank_Gandhi
Adobe Employee
Adobe Employee
November 14, 2022

@manlosa2 

 

Custom workflow models can be kept under /conf/global/settings/workflow/models/<My Project>/MyCustomWF

 

Locations - Workflow Models

Workflow models are stored in the repository according to type:
  • Out-of-the-box workflow designs are held under the following path:
    /libs/settings/workflow/models/
     
    Do not:
    • place any of your custom workflow models in this folder
    • edit anything in /libs
    As any changes may be overwritten at upgrade or when installing hot-fixes, cumulative fix packs or service packs.
  • Custom workflow designs are held under:
    /conf/global/settings/workflow/models/...
    
    
    
  • Runtime workflow designs (both out-of-the-box and custom) are held under the following path:
    /var/workflow/models/

 

here is adobe best practice for Workflows:

 

 

https://experienceleague.adobe.com/docs/experience-manager-65/developing/extending-aem/extending-workflows/workflows-best-practices.html?lang=en

Translate
manlosa2Author
Level 2
November 15, 2022

Thank you everyone. 

Translate