0 Replies Latest reply on Jun 4, 2009 10:55 AM by Mark Fishman

    canceling an invoked esb endpoint when a controlling  jbpm w

    Mark Fishman Newbie

      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