How do I commit my custom workflows in Git? | Community
Skip to main content
vigiaemnewbie
Level 2
Jan 2, 2019 1:37 PM UTC
Solved

How do I commit my custom workflows in Git?

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.
arunpatidar
arunpatidarAccepted solution
New Participant
Jan 2, 2019 1:57 PM UTC

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

2 replies

vigiaemnewbie
Level 2
Jan 7, 2019 1:23 PM UTC

Thanks Arun,

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

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

The above filter would do.

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Jan 2, 2019 1:57 PM UTC

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

Translate
Arun Patidar