| | |
| | | private Date updateTime; |
| | | |
| | | public FlowInstance() {} |
| | | public FlowInstance(SubsystemFlowTemplate subsystemFlowTemplate) { |
| | | this.flowTemplateId = subsystemFlowTemplate.getId(); |
| | | this.flowTemplateCode = subsystemFlowTemplate.getFlowCode(); |
| | | this.templateVersion = subsystemFlowTemplate.getVersion(); |
| | | |
| | | } |
| | | |
| | | public FlowInstance(String flowInstanceNo,Long taskId,String taskNo,Long nodeInstanceId,String nodeCode,Long flowTemplateId,String flowTemplateCode,Integer templateVersion,Short status,String currentStepCode,Integer currentStepOrder,String executeParams,String executeResult,String errorCode,String errorMessage,Date startTime,Date endTime,Date timeoutAt,Integer durationSeconds,Integer retryTimes,Date lastRetryTime,String contextData,Date createTime,Date updateTime) { |
| | | this.flowInstanceNo = flowInstanceNo; |