cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Listener and Business Process Capabilities

ssh1
Champ in-the-making
Champ in-the-making
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.

Thanks.
4 REPLIES 4

trademak
Star Contributor
Star Contributor
Hi,

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?

Best regards,

ssh1
Champ in-the-making
Champ in-the-making
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?

ssh1
Champ in-the-making
Champ in-the-making
Just to be more specific, this is what i want the activiti engine to support :

1) Listen to the incoming requests from external server applications.

2) Decide on the flow or sequence of the processing of the request.

3) Call an external server application to do some business processing.

Based on the information that i have i can say that 1) is possible using the Apache Mule/Camel modules and 2) is the basic functionality of Activiti.

I am not sure that option 3) is supported by Activi Engine.
Is it possible?? Pls help.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
You can have service tasks implemented in java… Those can do ANYTHING you want…