jBPM6: using rules contained in a separate jar artifact

旧城冷巷雨未停 提交于 2019-12-12 01:52:30

问题


I'm trying to implement a jBPM6 project containing both processes and rules.

One thing I would like to achieve (if it is possible) is to develop a separate artifact containing only the rules definitions, and then referencing this jar into the processes' project via maven, being able to execute the rules from my processes.

I implemented this solution, but when I execute one of the process that uses the rules none of the rules is fired. To verify that there were no implementation problems I put the rules definition files into the processes' project directly, and it worked in this way.

So, it is like the system is not able to load the rules definitions when they are contained into another jar archive. Does anyone knows how to solvemy problem, and if what I want to achieve is even possible in jBPM6? Thank you very much.


回答1:


I have tried with repository1 and its working fine. I can see global variables are accessible across different projects. Go through repository1



来源:https://stackoverflow.com/questions/43954732/jbpm6-using-rules-contained-in-a-separate-jar-artifact

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!