如何从MySQL数据库中读取数据到jBPM Web Designer中的进程? [英] How can I read data from MySQL database into a process in jBPM Web Designer?
问题描述
在jBPM 5.4中的默认评估示例中,我想通过jbpm网页设计器将演员john和mary替换为文件或数据库中定义的actors,如果可能的话。我怎样才能做到这一点?我已经搜索了网络和论坛,我没有找到解决方案。
感谢您的帮助。
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.
推荐答案
您可以将mysql与jbpm5集成,如图所示这里
您还可以编写java处理程序从文件或数据库获取数据,然后使用# {expression}动态分配actor id。
如果有任何不清楚的评论。
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.
这篇关于如何从MySQL数据库中读取数据到jBPM Web Designer中的进程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!