cancel
Showing results for 
Search instead for 
Did you mean: 

Web service wrapper on Activiti

hardik_thakkar1
Champ in-the-making
Champ in-the-making
Hello there,

We have decided to use Activiti as workflow tool in our new project. Application is in design phase right now. I need some things to clarify here.

1) We have decided to develop our own Wrapper (REST-Web service) which would give users customize operations. Is this feasible to write our own activiti-rest module? If yes, then what are the things need to take care of?
We thought this will give us better control on functions as this is being used my multiple systems.

2) What are the limitations of activiti-rest?

3) As said, activiti is being used by multiple systems, is there anything in activiti which could distinct system workflows? How to manage hierarchies ?

4) We are thinking that if we will use activiti-rest then we are giving users complete control of system? Is there any way to overcome or restrict it?

Awaiting for your suggestions. Have a great time ahead!! Cheers!!
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
1) Sure this is possible. Not hard to do, as Activiti is a regular java library. Nothing that comes in mind that is particulary exotic.

2) It is always slightly 'behind' the Java API. Some api's will not be done as deep as the java part (for time reasons)

3) No there is no concept of system workflows. You could maybe use the tenant-support for this (and use a system tenant)

4) I don't get that remark. Why would that need to be the case?

hardik_thakkar1
Champ in-the-making
Champ in-the-making
Thanks jbarrez for your reply.

1) Is there anything to take care while writing wrapper? Or all functions are straight forward in Java API.

2) I agreed on you on this. But that is good that there is scope of extension always.

3) I think in this case, we need to think something like, maintaining some database tables or marking workflow names as per system convention.

4) In our case, we are trying to achieve that model where multiple applications will use  activiti workflow. So, we are giving users some kind of abstraction so they can easily on-board their application in our system in their convention.

jbarrez
Star Contributor
Star Contributor
1) Yes.

3) Indeed. We do something similar in Alfresco

4) I see. In that case, you'd probably want to look into http://activiti.org/userguide/index.html#advanced.tenancy