cancel
Showing results for 
Search instead for 
Did you mean: 

Embedding Activiti Modeler in Custom Web Application

ryanberg1
Champ in-the-making
Champ in-the-making
Hello,

We are not using the activiti-explorer web application, but we do have a custom web application with which we manage and deploy our activiti processes.  I am interested in embedding activiti modeler into our custom web application, but I can't seem to find the modeler code (on github). Is this code available somewhere? We would also like to add custom activities to the palette that invoke custom behaviors. Does this seem possible?

Thank you.
-Ryan
6 REPLIES 6

trademak
Star Contributor
Star Contributor
Hi Ryan,

The code is in the activiti-modeler module. And you can extract the modeler parts of the web.xml of the activiti-webapp-explorer2 module.
Yes you can customize the activities by editing the stencilset.json file (which you can find in the src/main/resources of the activiti-webapp-explorer2 module.

Best regards,

ryanberg1
Champ in-the-making
Champ in-the-making
Thank You!

sanjiv
Champ in-the-making
Champ in-the-making
Tijs,
You had mentioned writing a blog to explain how to embed the activiti-explorer / modeler within a user's war. Is this documented anywhere? If not, can you briefly outline the steps?

Thanks,
Sanjiv

sanjiv
Champ in-the-making
Champ in-the-making
I think I've included the required resources and activiti spring config files. I would be very helpful to have the details of the changes needed to web.xml config and to be able to have a separate activiti.html / jsp file that loads the activiti explorer modeler

sanjiv
Champ in-the-making
Champ in-the-making
After playing around with it for a bit I was able to figure it out.

tcheekva
Champ in-the-making
Champ in-the-making
I would be interested in how you achieved this.  I am looking to something similar.