IDEMPIERE-5003 Abort for workflow activity and process manage is not working (#925)

This commit is contained in:
hengsin 2021-10-22 18:18:20 +08:00 committed by GitHub
parent 3cab0992d5
commit eb82c679ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,7 @@ public class WFActivityManage extends SvrProcess
// will leave the activity in an "unmanagable" state
activity.setProcessed(true);
activity.setWFState(StateEngine.STATE_Aborted);
activity.saveEx();
return msg;
}
String msg = null;

View File

@ -81,6 +81,7 @@ public class WFProcessManage extends SvrProcess
process.setTextMsg(msg);
process.setAD_User_ID(getAD_User_ID());
process.setWFState(StateEngine.STATE_Aborted);
process.saveEx();
return msg;
}
String msg = null;