diff --git a/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/flow/FlowInstance.java b/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/flow/FlowInstance.java index 0a4affb..133321d 100644 --- a/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/flow/FlowInstance.java +++ b/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/flow/FlowInstance.java @@ -966,4 +966,14 @@ public class FlowInstance { worker.work(bean, comment, us.getUserId()); getCommentDao().updateEntity(bean); } + + //获取流程定义信息 + public ModelProc getProcDef() { + return procDef; + } + + //获取指定的任务定义信息 + public Activity findActivity(String actId) { + return procDef.getProcInfo().findActivity(actId); + } }