activiti流程变量的问题??

java后台:if(DefinitionKey.equals("modifyApply")){
if(ra.equals("true")){
var.setKeys("reApply,leaveType,startTime,endTime,reason");
var.setValues(ra+","+leaveType+","+startTime+","+endTime+","+reason);
var.setTypes("B,S,D,D,S");
}else{
var.setKeys("reApply,leaveType,startTime,endTime,reason");
var.setValues(ra+","+leaveType1+","+startTime1+","+endTime1+","+reason1);
var.setTypes("B,S,D,D,S");
}
提交 报错 Exception while invoking TaskListener: Unknown property used in expression: ${afterModifyApplyContentProcessor}

xml

2个回答

afterModifyApplyContentProcessor 这是你流程里定义的变量名,你应该在流程start前赋值

I have the same question. Do you have solution to this problem?

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!