解决打完 2.0.035 的补丁,工作流报运行错误,序列化的错的问题原创
金蝶云社区-JeremyG
JeremyG
7人赞赏了该文章 570次浏览 未经作者许可,禁止转载编辑于2020年09月23日 10:47:10
封面

可以在系统库中执行脚本修复,目前也已在2.0.036的补丁中修复,脚本

mysql

UPDATE t_wf_dynmodelconfig SET FCUSTOMRUNTIMECONFIG = '{\"properties\":{\"executionListeners\":[{\"userDefinied\":true,\"event\":\"start\",\"implementation\":\"kd.ssc.task.workflow.listener.CreateTaskTestListener\",\"implementationtype\":\"class\"}],\"taskListeners\": [{\"event\": \"canWithdraw\",\"implementation\": \"{\\\"type\\\":\\\"class\\\",\\\"value\\\":\\\"kd.ssc.task.workflow.listener.WorkflowWithDrawListener\\\"}\",\"implementationtype\": \"class\"}]},\"stencil\":{\"id\":\"SSCApprove\"}}' WHERE fid =431869524891950081;


ksql或oracle

UPDATE T_WF_DYNMODELCONFIG SET FCUSTOMRUNTIMECONFIG='{"properties":{"executionListeners":[{"userDefinied":true,"event":"start","implementation":"kd.ssc.task.workflow.listener.CreateTaskTestListener","implementationtype":"class"}],"taskListeners": [{"event": "canWithdraw","implementation": "{\"type\":\"class\",\"value\":\"kd.ssc.task.workflow.listener.WorkflowWithDrawListener\"}","implementationtype": "class"}]},"stencil":{"id":"SSCApprove"}}' WHERE FID=431869524891950081;

赞 7