29 lines
796 B
Java
29 lines
796 B
Java
package com.tenwa.flow.action.comm;
|
|
|
|
import com.amarsoft.are.jbo.BizObject;
|
|
import com.amarsoft.are.jbo.JBOTransaction;
|
|
/**
|
|
* 网银发起不做合同级别互斥校验
|
|
*/
|
|
public class EbankFlowStartAction extends BaseFlowStartAction {
|
|
|
|
@Override
|
|
public String initFLow(JBOTransaction tx) throws Exception {
|
|
try {
|
|
//初始化当前用户信息
|
|
String flowunid="";
|
|
//生成业务流程数据并返回流程的编号
|
|
BizObject flowBussiness=this.initFLowBusinonObject(tx);
|
|
this.customOperation(tx,flowBussiness);
|
|
flowunid=flowBussiness.getAttribute("flow_unid").toString();
|
|
this.updateFLowBusinonObject(tx);
|
|
this.executeFlowStartScript(tx, flowBussiness);
|
|
return this.startFlow(tx,flowunid);
|
|
} catch (Exception e) {
|
|
e.printStackTrace();
|
|
tx.rollback();
|
|
return "failed@发起流程出错";
|
|
}
|
|
}
|
|
}
|