Expand my Community achievements bar.

SOLVED

How do I commit my custom workflows in Git?

Avatar

Level 3

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Level 3

Thanks Arun,

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

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

The above filter would do.