问题
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