How to store custom workflows and launcher into codebase | Community
Skip to main content
Level 2
Nov 12, 2022 7:00 PM UTC
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
New Participant
Nov 13, 2022 12:26 AM UTC

@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

manlosa2Author
Level 2
Nov 15, 2022 12:52 PM UTC

Thank you everyone. 

Translate
Mayank_Gandhi
Employee
Nov 14, 2022 2:57 AM UTC

@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
Mani_kumar_
New Participant
Nov 13, 2022 1:55 PM UTC

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
Nov 15, 2022 12:51 PM UTC

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

Translate
Avinash_Gupta_
Avinash_Gupta_Accepted solution
New Participant
Nov 13, 2022 12:26 AM UTC

@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