Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

Avatar

Level 2

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?