I'm researching about Activiti. I've read User Guide and known that the process only stop when it arrived User Task, Timer Boundary. Moreover, I read the book Activiti in Action, it say the Activiti Engine is a state machine. So I want to know that when process arrive tasks, gateway, boundaries, what's it state? Does it pause or stop or something?
Not an expert view, but based on my expereince of V5 and V6 at its simplest I'd describe it as follows.
Activiti Process Engines are only active when called via the API using the services they provide, e.g. to start a process instance, complete a task etc. At that point they perform whatever logic is required, call service tasks, make state transitions etc. They then persist the process state in the database, current activity, process variables etc. and are then inactive until the next API call.
Hope that helps.
Thanks for your rep.
I understood your explaination. But I still don't know that when the process is started, how it will work when it arrive to service task, script task, gateway... Does it stop to do logic and continue automatically?
Take a look at the Transactions & Concurrency section of the User Guide (section 8.7) that explains a bit more detail for both synchronous execution and asynchronous execution, when for example a task executes in a sperate thread / transaction.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.