AnsweredAssumed Answered

Activiti integration through an API

Question asked by hmesha on Dec 27, 2010
Latest reply on Dec 28, 2010 by hmesha
Hi all,

I'm trying to integrate Activiti within an application through API calls. I have been spending time looking around the source code of Activiti to figure out the right entry point to this exercise. I have a few question that I'd appreciate an answer to. First, here's what I'm trying to do:

1. Configure the process engine programmatically
2. instantiate a ProcessEngine instance
3. Deploy a ProcessDefinition
4. Start a process instance
5. Query in-progress process instances of a particular process definition
6. Query the state of in-progress process instance
7. Associate an object (web form that has nothing to do with Activiti forms) with a task
8. Associate the task with a roles and users in LDAP store (active directory)
9. trigger an action in an exclusive gateway on a task

I managed to do 1 - 4

I'm struggling with 5-9. I'd appreciate pointers and maybe code examples of how to go about accessing the execution entities to perform those actions from the process engine.


Hany Mesha