cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Guided Procedure

Former Member
0 Kudos

Hello,

using the Guided Procedures I have modeled an approval workflow.

After a requester submits a request, the request should be delegated to an approver.

However, when the requester actually submit the request, I get an error message which reads "Activity could not be read" and the workflow does not continue with the approver.

Does anyone has an idea, what could be wrong?

Best regards

Alexander

Accepted Solutions (1)

Accepted Solutions (1)

former_member201361
Active Contributor
0 Kudos

Hi,

However, when the requester actually submit the request, I get an error message which reads "Activity could not be read" and the workflow does not continue with the approver.

Check the Callable object in GP design time , whether it is giving u the expected output.

check the complete error log info for more information in nwa...

Nwa--> Problem management --> Logs and Traces --> Log Viewer.

in the log viewer, u will find the root cause for the error message.

thanks and regards

Former Member
0 Kudos

Hi Fazal,

Check the Callable object in GP design time , whether it is giving u the expected output.

The callable objects work just fine and provide the expected outputs.

Nwa--> Problem management --> Logs and Traces --> Log Viewer.

in the log viewer, u will find the root cause for the error message.

Unfortunately, I cannot find (see below) any other root cause. It seems that the problem occurs either when completing the first or starting the second action. However, both callable objects work fine when tested in the design time.

Edit: It seems that the problem occurs when completing the first action. What could be the reason for that?


Activity could not be read
com.sap.caf.eu.gp.base.exception.EngineException: Activity could not be read
at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.createWorkItems(StatusWriter.java:2948)
at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.startAction(StatusWriter.java:2749)
at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.startActivity(StatusWriter.java:1339)
at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.updateProcessStatusSequentialBlock(StatusWriter.java:4368)
at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.updateProcessStatus(StatusWriter.java:3617)
at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.completeAction(StatusWriter.java:286)
at com.sap.caf.eu.gp.model.pfw.wfc.local.impl.LocalWorkflowConnector.completeAction(LocalWorkflowConnector.java:251)
at com.sap.caf.eu.gp.model.pfw.core.impl.ProcessRuntime.completeAction(ProcessRuntime.java:863)
at com.sap.caf.eu.gp.ui.act.container.VContainer.OnExecutionComplete(VContainer.java:509)
at com.sap.caf.eu.gp.ui.act.container.wdp.InternalVContainer.wdInvokeEventHandler(InternalVContainer.java:162)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
at com.sap.tc.webdynpro.progmodel.components.Component.fireEvent(Component.java:478)
at com.sap.caf.eu.gp.ui.co.wd4vc.exec.wdp.InternalCOExecWD4VCInterface.wdFireEventExecutionComplete(InternalCOExecWD4VCInterface.java:170)
at com.sap.caf.eu.gp.ui.co.wd4vc.exec.COExecWD4VC.onSignalOut(COExecWD4VC.java:365)
at com.sap.caf.eu.gp.ui.co.wd4vc.exec.wdp.InternalCOExecWD4VC.wdInvokeEventHandler(InternalCOExecWD4VC.java:171)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.invokeEventHandler(DelegatingComponent.java:237)
at com.sap.tc.webdynpro.progmodel.components.Component.fireEvent(Component.java:478)
at com.sap.tc.wd4vc.launcher.wdp.InternalLauncherInterface.wdFireEventSignalOutEvent(InternalLauncherInterface.java:168)
at com.sap.tc.wd4vc.launcher.LauncherView.handleRaiseEndPoint(LauncherView.java:301)
at com.sap.tc.wd4vc.launcher.wdp.InternalLauncherView.wdInvokeEventHandler(InternalLauncherView.java:197)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
at com.sap.tc.webdynpro.progmodel.components.Component.fireEvent(Component.java:478)
at com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngineInterface.wdFireEventRaiseEndPoint(InternalXGLEngineInterface.java:308)
at com.sap.tc.wd4vc.xglengine.XGLEngineInterface.notifyEmbeddersOfEndPoint(XGLEngineInterface.java:231)
at com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngineInterface.notifyEmbeddersOfEndPoint(InternalXGLEngineInterface.java:152)
at com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.notifyEmbeddersOfEndPoint(XGLInterpreter.java:2166)
at com.sap.tc.wd4vc.core.std.relays.java.impl.XGLEndPointRelay.notifyEmbedders(XGLEndPointRelay.java:82)
at com.sap.tc.wd4vc.core.std.relays.java.impl.XGLSignalOutRelay.execute(XGLSignalOutRelay.java:67)
at com.sap.tc.wd4vc.core.std.relays.java.impl.XGLEndPointRelay.execute(XGLEndPointRelay.java:66)
at com.sap.tc.wd4vc.core.std.relays.GenericRelay.execute(GenericRelay.java:226)
at com.sap.tc.wd4vc.core.std.relays.wdp.InternalGenericRelay.execute(InternalGenericRelay.java:138)
at com.sap.tc.wd4vc.core.std.relays.GenericRelayInterface.execute(GenericRelayInterface.java:123)
at com.sap.tc.wd4vc.core.std.relays.wdp.InternalGenericRelayInterface.wdInvokeMethod(InternalGenericRelayInterface.java:150)
at com.sap.tc.webdynpro.progmodel.generation.ExternalControllerPI$ExternalInterface.invoke(ExternalControllerPI.java:291)
at $Proxy610.execute(Unknown Source)
at com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.doEvaluateRelay(XGLInterpreter.java:1798)
at com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.doEvalStep(XGLInterpreter.java:1777)
at com.sap.tc.wd4vc.core.xgl2_2.xglengine.java.XGL2_2Interpreter.doEvalStep(XGL2_2Interpreter.java:698)
at com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.processStep(XGLInterpreter.java:981)
at com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.processPlan(XGLInterpreter.java:941)
at com.sap.tc.wd4vc.core.xgl2_2.xglengine.java.XGL2_2Interpreter.processAtomicActionCall(XGL2_2Interpreter.java:356)
at com.sap.tc.wd4vc.core.xgl2_2.xglengine.java.XGL2_2Interpreter.processActionCall(XGL2_2Interpreter.java:311)
at com.sap.tc.wd4vc.core.xgl2_2.xglengine.java.XGL2_2Interpreter.processActionCall(XGL2_2Interpreter.java:319)
at com.sap.tc.wd4vc.core.xgl2_2.xglengine.java.XGL2_2Interpreter.processAction(XGL2_2Interpreter.java:290)
at com.sap.tc.wd4vc.xglengine.XGLEngine.processAction(XGLEngine.java:447)
at com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngine.wdInvokeEventHandler(InternalXGLEngine.java:184)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.invokeEventHandler(DelegatingComponent.java:237)
at com.sap.tc.webdynpro.progmodel.components.Component.fireEvent(Component.java:478)
at com.sap.tc.wd4vc.core.std.toolbar.wdp.InternalXGLToolbarInterface.wdFireEventGenericEvent(InternalXGLToolbarInterface.java:273)
at com.sap.tc.wd4vc.core.std.toolbar.Generic.onActionGenericAction(Generic.java:271)
at com.sap.tc.wd4vc.core.std.toolbar.Generic.onActionValidatingAction(Generic.java:295)
at com.sap.tc.wd4vc.core.std.toolbar.wdp.InternalGeneric.wdInvokeEventHandler(InternalGeneric.java:161)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:72)
...

Edited by: Alexander Königs on Mar 4, 2009 10:50 AM

former_member201361
Active Contributor
0 Kudos

Hi,

Check this thread, this might help you .

[]

Former Member
0 Kudos

Hi Fazal,

I have found an error in my Guided Procedure. That was the cause of my problems.

Sorry, and thanks for your help!

Best regards

Alexander

Former Member
0 Kudos

Hi Alexander,

What was the error in your GP process... by chance do you remember?

I have a similar issue now..

Mahesh

Answers (0)