Intermediate Message Event Error

On calling intermediate msg event in process as throw event (Publishable Documents) and bind to document type Reference, the event fails with the below error, Any help please?

com.wm.app.prt.ProcessException: [PRT.0101.9417] Cannot publish ThrowDoc. Document is not in pipeline. at com.wm.app.prt.StepDispatcherAgent.handleMessageTransition(StepDispatcherAgent.java:2352) at com.wm.app.prt.StepDispatcherAgent.handleThrowMessageEvent(StepDispatcherAgent.java:2294) at com.wm.app.prt.StepDispatcherAgent.runStep(StepDispatcherAgent.java:1642) at com.wm.app.prt.StepDispatcherAgent.execute(StepDispatcherAgent.java:324) at com.wm.app.prt.StepDispatcherAgent.synchRun(StepDispatcherAgent.java:235) at com.wm.app.prt.StepDispatcherAgent.synchRun(StepDispatcherAgent.java:269) at com.wm.app.prt.StepDispatcherAgent.synchRun(StepDispatcherAgent.java:269) at com.wm.app.prt.StepDispatcherAgent.synchRun(StepDispatcherAgent.java:269) at com.wm.app.prt.StepDispatcher.startStep(StepDispatcher.java:1108) at com.wm.app.prt.StepDispatcher.dispatch(StepDispatcher.java:1082) at com.wm.app.prt.StepDispatcher.dispatchPublishedDocEvent(StepDispatcher.java:905) at com.wm.app.prt.StepDispatcher.handleNativeDoc(StepDispatcher.java:701) at wm.prt.dispatch.handlePublishedInput(dispatch.java:290) at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:411) at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:744) at wm.bci.internal.BciServiceInvokeNotifier.process(BciServiceInvokeNotifier.java:32) at com.wm.ps.serviceMock.ServiceInterceptor.process(ServiceInterceptor.java:360) at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:46) at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:61) at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:250) at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:56) at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:178) at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:331) at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.

Hi Nourhan,

can you provide an outline of your service with mapping details for each step which is trying to publish ThrowDoc?

Looks either ThrowDoc is either dropped before reaching the publish step or it is not created/filled prior to trying to publish it.

Regards,
Holger

Then if so, how could i create it or fill it before sending it from intermediate message event?

any help please?