Does jBPM include sequence workflow and state machine workflow like window workflow foundation ?
If someone is familiar with windows workflow foundation, please have a look at the following problem:
WorkflowRuntime workflowRuntime = new WorkflowRuntime();
ExternalDataExchangeService dataExchangeService; dataExchangeService = new ExternalDataExchangeService(); workflowRuntime.AddService(dataExchangeService);
PaymentProcessingService paymentProcessing; paymentProcessing = new PaymentProcessingService(); dataExchangeService.AddService(paymentProcessing);
With the code above, our application can use paymentProcessing.RaiseXXXXEvent to interactive with the workflow instance. My question is : What's the principle to implement such a mechanism. I think this is a kind of Event Driven Pattern, but how can I implement this mechanism and why ? Please point me the direction or any references are appreciated. Any similar implemented in jBPM ?