I am new to Activiti. I have the following two questions:
1) Does Activiti allow to add some custom classes or implement some listener interfaces on top of the Activiti Engine to listen to the incoming requests (may be http or smpp) from a server application. Based on the requests, i need to execute different user tasks and manage the sequence flow.
2) Does Activiti allow to call a business implementation in a user task which invokes methods on server applications outside Activiti.
These points are not too clear from the user docs. Pls help.
1. We have support for Apache Camel and Mule modules that allow for incoming request to go to the Activiti Engine. In the process definition you would normally use a receive task or signal event to process the incoming request. 2. We support Task listeners for a user task. Is that what you are looking for?
Thanks a lot for the reply. My use case is that activiti engine should decide on the sequence of execution based on the incoming requests and should call an external java server application or webservice to complete the task during a particular execution flow.
I saw that Java Service Task and Task Listeners are used to call the external JAVA classes from the ACTIVITI Engine. But i am not sure that whether this external java class can reside on a different server or not. Like listening to the incoming requests do we need different modules to do so?