AEMaaCS - how to make a workflow runtime model part of the project codebase? | Community
Skip to main content
Kamal_Kishor
Community Advisor
Community Advisor
January 21, 2022
Solved

AEMaaCS - how to make a workflow runtime model part of the project codebase?

  • January 21, 2022
  • 2 replies
  • 1225 views

We are trying to commit workflow model as part of codebase in ui.content package. We are able to deploy the code in /conf/global/settings/workflow/models/<project-name>/<wf-name>. Issue is when we try to add workflow runtime model in filter.xml (/var/workflow/models/<project-name>/<wf-name>), the build fails with ValidationViolation error which says 'using nodes below /var is only allowed in author-specifc packages'

 

Any pointers?

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 JeevanRaj

Hi @kamal_kishor 

I faced a similar issue when migrating workflows to 6.5. Below points might help.

1. Make sure you are adding the entries in ui.content filter.xml.

2. Add the below filter in ui.apps.structure pom.xml

<filter><root>/var/workflow/models</root></filter>

or in your case

<filter><root>/var/workflow/models/<project-name></root></filter>

 Let me know how it goes.

Thanks

2 replies

JeevanRaj
Community Advisor
JeevanRajCommunity AdvisorAccepted solution
Community Advisor
January 21, 2022

Hi @kamal_kishor 

I faced a similar issue when migrating workflows to 6.5. Below points might help.

1. Make sure you are adding the entries in ui.content filter.xml.

2. Add the below filter in ui.apps.structure pom.xml

<filter><root>/var/workflow/models</root></filter>

or in your case

<filter><root>/var/workflow/models/<project-name></root></filter>

 Let me know how it goes.

Thanks

joerghoh
Adobe Employee
Adobe Employee
January 21, 2022

the runtime models should be created automatically; is there any need why you want to deploy it as well?