How do I commit my custom workflows in Git? | Community
Skip to main content
vigiaemnewbie
Level 2
January 2, 2019
Solved

How do I commit my custom workflows in Git?

  • January 2, 2019
  • 2 replies
  • 2403 views

I have some custom workflows under var/workflows/models but committing this to my local directory and deploying my maven project completely overwrites AEM's existing workflows and only leaves my workflows in the folder. How do I include my workflows in Git so that other developers can use the workflows when deploying from Git to their AEM instances? In a general sense, how do I commit files which are not under /apps/ or files which are in already existing AEM folders?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Update your filter.xml

There are options to update, replace or merge changes.

you can create var folder parallel to apps and etc and update your changes.

Jackrabbit Filevault - Workspace Filter

2 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
January 2, 2019

Update your filter.xml

There are options to update, replace or merge changes.

you can create var folder parallel to apps and etc and update your changes.

Jackrabbit Filevault - Workspace Filter

Arun Patidar
vigiaemnewbie
Level 2
January 7, 2019

Thanks Arun,

I was able to figure this out and commit the required files.

<filter root="/conf" mode="merge" />

The above filter would do.