IDEMPIERE-5003 Abort for workflow activity and process manage is not working (#925)
This commit is contained in:
parent
3cab0992d5
commit
eb82c679ca
|
@ -85,6 +85,7 @@ public class WFActivityManage extends SvrProcess
|
||||||
// will leave the activity in an "unmanagable" state
|
// will leave the activity in an "unmanagable" state
|
||||||
activity.setProcessed(true);
|
activity.setProcessed(true);
|
||||||
activity.setWFState(StateEngine.STATE_Aborted);
|
activity.setWFState(StateEngine.STATE_Aborted);
|
||||||
|
activity.saveEx();
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
String msg = null;
|
String msg = null;
|
||||||
|
|
|
@ -81,6 +81,7 @@ public class WFProcessManage extends SvrProcess
|
||||||
process.setTextMsg(msg);
|
process.setTextMsg(msg);
|
||||||
process.setAD_User_ID(getAD_User_ID());
|
process.setAD_User_ID(getAD_User_ID());
|
||||||
process.setWFState(StateEngine.STATE_Aborted);
|
process.setWFState(StateEngine.STATE_Aborted);
|
||||||
|
process.saveEx();
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
String msg = null;
|
String msg = null;
|
||||||
|
|
Loading…
Reference in New Issue