Hi there, you can run a process with ksession.startProcess(<processID>, <parameters>);
Then for knowing where the process is at any point I suggest you to use the ProcessEventListener attached to the session to record and audit your process.
thank you for your help
could you give me some sample project ？
Sure, you can get examples from here:
and the official ones:
Hope it helps
thank you very much 。when open up ‘https://github.com/droolsjbpm/jbpm/tree/master/jbpm-examples’ use download button， droolsjbpm-jbpm-5.1.0.Final-0-g71fbb5c.zip was download。 but it didn‘t contain jbpm-examples 。。。。。。
You probably need to clone the repository using git instead of downloading the source code.. I'm pretty sure that you can also download the examples from sourceforge: http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.1.0.Final/
It is very nice of you to answer all my questions!!
I had downloaded 'jbpm-examples' on this URL https://github.com/droolsjbpm/jbpm/tree/master/jbpm-examples
when i open the project, there are some .ftl files in src/main/resources/humantask directory.
but I can not see where does the project use these files.
I want to use ftl files in my traditional java web applition (String+Spring +hibernate)
I strongly recommend you to start with more isolated projects like the one that I've show you in the other links. Where you can put any technology that you want on top of it.