审批时找不到部门负责人,导致流程挂起
769次浏览
编辑于2020年02月13日 08:41:06
软件版本是shr1.5,审批的单据是请假单。审批流程只需要部门领导审批就结束了。出错的部门是“采购一部”,采购一部负责人是采购经理,现在采购经理离职了,有本部门中的一个员工兼职采购经理,开了给这个员工开了用户。
现在遇到采购一部的请假单提交后都会挂起,流程日志里面看到的是“没有找到活动(部门领导审批)的参与人”。
请问这个怎么处理?
------
Caused by: com.kingdee.bos.workflow.WfException :
没有找到活动(部门领导审批)的参与人!
com.kingdee.bos.workflow.WfException: 没有找到活动(部门领导审批)的参与人!
at com.kingdee.bos.workflow.engine.listener.AbstractAssignmentCheck.suspend(AbstractAssignmentCheck.java:64)
at com.kingdee.bos.workflow.engine.listener.AbstractAssignmentCheck.execute(AbstractAssignmentCheck.java:55)
at com.kingdee.cbos.process.vm.internal.i.wrapper.NodeListenerWrapper.execute(NodeListenerWrapper.java:42)
at com.kingdee.cbos.process.vm.internal.i.wrapper.ListenerWrapper.invoke(ListenerWrapper.java:50)
at com.kingdee.cbos.process.vm.internal.r.ExecutionImpl.execute(ExecutionImpl.java:708)
at com.kingdee.cbos.process.vm.internal.r.ControllerImpl.execute(ControllerImpl.java:68)
at com.kingdee.cbos.process.vm.internal.r.ControllerImpl.execute(ControllerImpl.java:54)
at com.kingdee.cbos.process.vm.internal.r.ControllerImpl.execute(ControllerImpl.java:32)
at com.kingdee.cbos.process.vm.internal.r.FlowContextImpl.signal(FlowContextImpl.java:524)
at com.kingdee.bos.workflow.engine.core.thread.FlowInitiator.tryOmitFirstActivitiy(FlowInitiator.java:86)
at com.kingdee.bos.workflow.engine.core.thread.FlowInitiator.execute(FlowInitiator.java:52)
at com.kingdee.bos.workflow.engine.core.thread.WfJobHandler.handler(WfJobHandler.java:175)
at sun.reflect.GeneratedMethodAccessor421.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.workflow.util.InvocationExecutor.execute(InvocationExecutor.java:28)
at com.kingdee.bos.workflow.transaction.WfTxInvoker.invoke(WfTxInvoker.java:33)
at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.workflow.metas.InvokeMethodDelegateControllerBean.invoke(InvokeMethodDelegateControllerBean.java:77)
at com.kingdee.bos.workflow.metas.InvokeMethodDelegateControllerBean._invokeRequired(InvokeMethodDelegateControllerBean.java:31)
at com.kingdee.bos.workflow.metas.AbstractInvokeMethodDelegateControllerBean.invokeRequired(AbstractInvokeMethodDelegateControllerBean.java:46)
at sun.reflect.GeneratedMethodAccessor211.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:57)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at $Proxy98.invokeRequired(Unknown Source)
at com.kingdee.bos.workflow.metas.InvokeMethodDelegate.invokeRequired(InvokeMethodDelegate.java:61)
at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at $Proxy97.invokeRequired(Unknown Source)
at com.kingdee.bos.workflow.transaction.WfTxHelper.invokeRequired(WfTxHelper.java:83)
at com.kingdee.bos.workflow.engine.core.thread.WfJobHandler.invoke(WfJobHandler.java:71)
at com.kingdee.bos.workflow.engine.core.thread.WfJobHandler.invoke(WfJobHandler.java:163)
at com.kingdee.bos.workflow.engine.core.thread.WfJobHandler.execute(WfJobHandler.java:92)
at com.kingdee.bos.service.job.core.ThreadWorker.execute(ThreadWorker.java:143)
at com.kingdee.bos.service.job.core.ThreadWorker.run(ThreadWorker.java:102)
at java.lang.Thread.run(Thread.java:810)
------
推荐阅读