Expand my Community achievements bar.

SOLVED

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

Avatar

Community Advisor

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Employee Advisor

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