How can I read data from MySQL database into a process in jBPM Web Designer?

喜你入骨 提交于 2019-12-13 06:28:23

问题


In the default "evaluation" example in jBPM 5.4, I want to replace the actors "john" and "mary" with actors defined in a file or in a database, if possible, through the jbpm web designer. How can I do that? I have searched the web and the forums and I found no solution for this. Thanks for your help.


回答1:


You can integrate mysql with jbpm5 as shown here
Also you can write java handlers to fetch data from files or databases and then use #{expression} to assign actor id dynamically. Comment if anything is not clear.



来源:https://stackoverflow.com/questions/17273137/how-can-i-read-data-from-mysql-database-into-a-process-in-jbpm-web-designer

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