1 Reply Latest reply on Jun 5, 2009 9:49 AM by kukeltje

    notifying jbossesb services when a JBPM workflow is canceled

      Hi,

      Can someone please point me in the right direction. I have a case where I have a JBPM workflow that I am using to control the flow through a series of JBossESB services. Everything works as I would like until I try to cancel one of those workflows using a CancelProcessInstanceCommand. When that happens, the workflow is canceled correctly but the workflow's active node's action is allowed to run to completion. Since some of my service endpoints might take a significant amount of time to run, an hour or more, I would really like to somehow notify the running endpoint that it was canceled and allow it to stop and do some clean up. Is there any way to do this?

      Thanks.

      -- Mark