流程分类定义
接口管理 long类型写0 字符串写空
流程定义【画流程图】 人工节点-添加审批人规则 空-全局事件-选回调接口
我的待办
流程平台-我参与的流程
发起流程:workflowClient.startInstanceByFlowKey
工作流回调:SupFreezeThawReq callbackSupFreezeThawReq
String APPROVING = "APPROVING";
//审批状态 public interface reqStatus { //新建 String NEW = "NEW"; //审批中 String APPROVING = "APPROVING"; //完成 String FROZEN = "FROZEN"; //审批通过 String APPROVED = "APPROVED"; //审批拒绝 String REJECTED = "REJECTED"; }
//创建审批流 Map<String, Object> param = new HashMap<>(); param.put("flowDesc", "供应商冻结、解冻流程启动"); param.put("freezeThawReqId", freezeThawReqId); RunInstance instance = workflowClient.startInstanceByFlowKey(tenantId, SupplierCode.supplierLov.SSLM_SUPPLIER_FREEZE_THAW, SupplierCode.supplierLov.SSLM_SUPPLIER_FREEZE_THAW + freezeThawReqId , "USER", String.valueOf(DetailsHelper.getUserDetails().getUserId()), param);
public SupFreezeThawReq callbackSupFreezeThawReq(SupFreezeThawReqDTO supFreezeThawReqDTO) {