File tree Expand file tree Collapse file tree
flow-engine-framework/src/main/java/com/codingapi/flow/pojo/response
packages/flow-types/src/types Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ public class FlowContent {
2525 */
2626 private long recordId ;
2727
28+ /**
29+ * 流程id
30+ * 每一次流程启动时生成,直到流程结束
31+ */
32+ private String processId ;
33+
2834 /**
2935 * 流程编号
3036 */
@@ -135,6 +141,7 @@ public void pushWorkflow(Workflow workflow) {
135141
136142 public void pushRecords (FlowRecord record , List <FlowRecord > mergeRecords ) {
137143 this .recordId = record .getId ();
144+ this .processId = record .getProcessId ();
138145 this .createOperator = new FlowOperator (record .getCreateOperatorId (), record .getCreateOperatorName ());
139146 this .mergeable = record .isMergeable ();
140147 this .flowState = record .getFlowState ();
Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ const TodoPage: React.FC = () => {
2525 dataIndex : 'recordId' ,
2626 title : '编号' ,
2727 } ,
28+ {
29+ dataIndex : 'processId' ,
30+ title : '流程编码' ,
31+ } ,
2832 {
2933 dataIndex : 'title' ,
3034 title : '流程名称' ,
Original file line number Diff line number Diff line change @@ -176,8 +176,10 @@ export interface FlowContent {
176176 // 记录id
177177 recordId :number ;
178178 // 流程id
179+ processId :string ;
180+ // 流程设计id
179181 workId :string ;
180- // 流程编码
182+ // 流程设计编码
181183 workCode :string ;
182184 // 节点id
183185 nodeId :string ;
You can’t perform that action at this time.
0 commit comments