I'd like to use Activiti as part of an in-house platform for diagnostic workflows. Our preferred approach:
- Activiti included as a jar or jars within a java web application deployed on tomcat 6
- XML ideally deployed separately, outside war files
- ajax/rest-driven interactions on a single view/page (per workflow)
- after initial page load, ajax-based DOM updates handled by a Spring rest controller.
Workflows would consist mostly of automated tasks modelled as a series of real-time ajax interactions and would probably require only a small subset of BPMN. Currently I use my own simple state machine but I imagine Activiti might allow development to proceed more quickly and scale better to new and larger workflows.
I'm reviewing the demo and docs. Thoughts are welcome.