I implemented a workflow and workflow process for a custom table in 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
java.lang.IllegalStateException: Persistent Object not DocAction.
Check that your custom table has the model classes generated and that your MCustomTable class implements the DocAction interface.
Here is the MOrder model