简体   繁体   English

临时工作流流程抛出llegalStateException

[英]Adempiere workflow process throw llegalStateException

I implemented a workflow and workflow process for a custom table in adempiere 3.80. 我在adempiere 3.80中为自定义表实现了工作流和工作流过程。 But when I click on the docaction button a popup will appear and when I click on its OK button, a message box appeared as terminated. 但是,当我单击文档操作按钮时,将出现一个弹出窗口,而当我单击其“确定”按钮时,将出现一个终止的消息框。 In eclipse, the console shows an exception 在eclipse中,控制台显示异常

java.lang.IllegalStateException: Persistent Object not DocAction. java.lang.IllegalStateException:持久对象不是DocAction。

Check that your custom table has the model classes generated and that your MCustomTable class implements the DocAction interface. 检查您的自定义表是否已生成模型类,并且您的MCustomTable类已实现DocAction接口。

Here is the MOrder model 这是MOrder模型

public class MOrder extends X_C_Order implements DocAction
{
....

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM