Display workflow error message to user instead of just display message "Terminated".

This commit is contained in:
Heng Sin Low 2011-02-10 09:36:48 +08:00
parent 68eef9fc88
commit f72cccd1ce
1 changed files with 138 additions and 133 deletions

View File

@ -836,6 +836,11 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
doc.setDocStatus(m_docStatus);
m_po.save();
}
if (m_process != null)
{
m_process.setProcessMsg(this.getTextMsg());
m_process.save();
}
}
finally
{