jBPM5.4-02:jbpm-console

http://localhost:8080/jbpm-console,进入工作台,用krisv/krisv登录。

1.查看自己的流程

    1)点击左侧的Processes,选择菜单中的process Overview

    2)右侧会显示出所有已知的流程(加载Sample中“src/main/resources”下的所有流程)

    3)  单击你要查看的流程,可侧会显示出此流程正在运行的流程实例。

    

To manage your process instances, click on the "Processes" tab at the left an select "Process Overview". After a slight delay (if you are using the application for the first time, due to session initalization etc.), the "Process" list should show all the known processes. The jbpm-console in the demo setup currently loads all the processes in the "src/main/resources" folder of the evaluation sample in "jbpm-installer/sample/evaluation". If you click the process, it will show you all current running instances. Since there are no running instances at this point, the "Instance" table will remain empty.

 

 

2.创建流程实例

    1)选中Process列表中的Evaluation,点击右侧上方的start按钮,填写信息后创建一个流程实例。


    2)完成后,在列表中会看到刚创建的信息,点击可在下方查看详细信息。



  

    3) 点击Diagram按钮,查看当前图表状态



 

    4) 点击Instance Data按钮,查看流程实例数据。



 

You can start a new process instance by clicking on the "Start" button. After confirming that you want to start a new execution of this process, you will see a process form where you need to fill in the necessary information to start the process. In this case, you need to fill in your username "krisv" and a reason for the request, after which you can complete the form and close the window. A new instance should show up in the "Instance" table. If you click the process instance, you can check its details below and the diagram and instance data by clicking on the "Diagram" and "Instance Data" buttons respectively. The process instance that you just started is first requiring a self-evaluation of the user and is waiting until the user has completed this task.

3.完成自己的任务

    1)点击左侧菜单中Tasks,选择Personal Tasks,右侧将显示自己的任务(如果查看不到点击Refresh挥刀刷新一下任务)。



 

    2)选中你要处理的任务,点击View按钮,填写信息后完成。



 

    3)再次在Process Overview中查看自己刚创建的流程实例,查看当前信息。



 





    4) john/john登录,在Tasks中点击Group Tasks,选中要执行的任务,点击Claim领取任务.

        在Tasks中点击Personal Tasks,选择要处理的任务,点击View,填写信息后完成。

        在Processes的Process Overview中查看信息



 

 

    5)用mary/mary登录,方法同4. 即完成了此次流程。

To see the tasks that have been assigned to you, choose the "Tasks" tab on the left and select "Personal Tasks" (you may need to click refresh to update your task view). The personal tasks table should show a "Performance Evaluation" task for you. You can complete this task by selecting it and clicking the "View" button. This will open the task form for performance evaluations. You can fill in the necessary data and then complete the form and close the window. After completing the task, you could check the "Process Overview" once more to check the progress of your process instance. You should be able to see that the process is now waiting for your HR manager and project manager to also perform an evaluation. You could log in as "john" / "john" and "mary" / "mary" to complete these tasks.

猜你喜欢

转载自xujava.iteye.com/blog/1842885