test.jpdl.xml代码如下:
<?xml version="1.0" encoding="UTF-8"?> <process name="中中中" xmlns="http://jbpm.org/4.4/jpdl"> <start g="111,18,48,48" name="start1"> <transition g="-71,-17" name="to 写请假条" to="写请假条"/> </start> <end g="111,350,48" name="end1"/> <task assignee="学员" g="89,98,92,52" name="写请假条"> <transition g="-71,-17" name="to 老师审核" to="老师审核"/> </task> <task assignee="教务" g="89,182,52" name="老师审核"> <transition g="-47,-17" name="to 存档" to="存档"/> </task> <task assignee="教务" g="89,266,52" name="存档"> <transition g="-47,-17" name="to end1" to="end1"/> </task> </process>
在上面的代码中<process name="中中中">定义了流程的名字,这时,我们不熟流程以后,可以看到以下情况: