AEM6.4: a custom workflow deployment without CRX | Community
Skip to main content
New Participant
November 8, 2018
Solved

AEM6.4: a custom workflow deployment without CRX

  • November 8, 2018
  • 1 reply
  • 1067 views

Dear All,

since AEM6.4, the new or updated in UI custom workflows go to /conf/global/settings/workflow/; the runtime code for them is generated and put to /var/workflow/ subtree. To make an update, I should use, again, the UI and press SYNC there regenerating runtime.

Now the question: how to do the same at the deployment time on a remote server from a Maven build job?

Needless to say developers have no access to the production server UI.

Should I keep the /var/workflow in my Git repository?

Or should I someway issue POST /conf/global/settings/workflow/models/test_workflow/jcr:content.generate.json from a Maven plugin, for all of my not so many workflows?

The solution is probably simple but not obvious to me. Please help!

Thank you!

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 Shashi_Mulugu

My option is to do the sync process in Local environment and commit both /conf and /var paths in GIT. With this /conf will be used for future editor flexibilty, /var will be a committed runtime workflow.

1 reply

Shashi_Mulugu
Shashi_MuluguAccepted solution
New Participant
November 8, 2018

My option is to do the sync process in Local environment and commit both /conf and /var paths in GIT. With this /conf will be used for future editor flexibilty, /var will be a committed runtime workflow.