0

I tried the evaluation process of jBPM suite, and this is just what I need, but course to apply in a project that I want to start.

I have readed the jBPM documentation and I executed successfuly the evaluation example that comes with the jbpm-installer full version (of jbpm 5.3.0), but it is not clear for me the next points. I will try to describe in this example. Let's say I have to create a litle web sistem from scratch, users of this web system will login and they will start processes instances and can check if they have tasks assigned (yes,just like the evaluation example, but of course, they do not use the jbpm-console to see that information, The system must have its very own presentation on web ) and also they can perform those task, so the process can continue.

So I create a process definition with drools-guvnor tool, I compiled the process, now it appears in jbpm-console overs processes definitions,I even can start this process in the console (please, letme know if I'm those are not the right steps to create a process), at this point:

-How do I create/generate the forms to allow users to complete the tasks?. Just like evaluation process does.

-Is it possible to use that forms outside the jbpm-console?, so I can put them into my web system and the users use them.

-Could I use the server:8080/gwt-console-server REST API to start processes, get processes information and manage them instead of programaticaly?or I will always need to (for example) start my processes by using the ksession.startProcess("com.myprocess");

and finally, as I'm not to much involved with java technologies to create web pages, applications. -In order to create a WEB system that uses jBPM to manage the bussiness logic, shows its own presentation on web to users, let them perform human tasks (fill forms, start processes) and store the data, what achitechture do you recommend?

Thanks very much in advanced

4

1 回答 1

2

-如何创建/生成表单以允许用户完成任务?就像评估过程一样。

表单是简单的 html 模板。您可以: - 使用工具为您生成表单: http://docs.jboss.org/jbpm/v5.3/userguide/ch.designer.html#d0e4369 http://kverlaen.blogspot.it/2012 /03/reward-system-demo.html - 在网页设计器中自己创建表单(选择任务并单击人工任务图标以编辑 html)

- 是否可以在 jbpm-console 之外使用该表单?所以我可以将它们放入我的 Web 系统并供用户使用。

是的,您可以使用 jBPM REST API 在某个框架中显示表单。

- 我可以使用 server:8080/gwt-console-server REST API 来启动进程、获取进程信息并管理它们而不是编程吗?或者我总是需要(例如)使用 ksession.startProcess( “com.myprocess”);

当然,如果 REST API 提供了您需要的所有功能,您可以使用它来启动流程、获取任务列表等。您还可以实例化嵌入到应用程序中的会话,但这不是必需的。

于 2012-10-19T10:37:48.947 回答