cancel
Showing results for 
Search instead for 
Did you mean: 

Resuming workflow

kanchan
Champ in-the-making
Champ in-the-making
Hi,

We are currently exploring activiti to use in our project. Out of which one of the topic is how saved workflows are resumed in activiti.
My scenario is service task1 -> catchTimerEvent->Service task2. In this case if the engine crashes in between say after catchTimerEven What happens to the process instance? Does the process Instance get saved in table? If so which table? And how that process instance is resumed ? After resuming does it start from the beginning(in above case service task1) or from the crash point?
Need your Assistance.
Thanks in advance.

-Kanchan.
17 REPLIES 17

jbarrez
Star Contributor
Star Contributor
@Kanchan: more info: http://activiti.org/enterprise-support.html

* The throttling you mention is not in Activiti built-in and would need to be a customisation.

kanchan
Champ in-the-making
Champ in-the-making
Hi,

For support related queries I found information on following page :
http://www.alfresco.com/services/subscription/technical-support

The support cost is not specified for Departmental and Enterprise Support packages there. Are they free?

Thanks in advance,
Kanchan

kanchan
Champ in-the-making
Champ in-the-making
Hi,

I am getting optimistic locking exception for parallel asynch tasks. When I searched for the solutions, I found there is a way to avoid this exception by introducing camel task. Is it true? or please let me know the other ways, how can I avoid this exception. My workflow is :
start -> fork->parallet task1->join-> end
                     ->parallel task2->

One more query on session management. jbpm has session management on knowledge base where the session is created for each process instance. Do we have similar things in activiti also?

Awaiting your response.

Thanks in advance,
Kanchan

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Kanchan,

camel task.

May be you can use exclusive jobs. http://www.activiti.org/userguide/#exclusiveJobs

Regards
Martin

kanchan
Champ in-the-making
Champ in-the-making
Waiting for reply on second question from previous thread
"
jbpm has session management on knowledge base where the session is created for each process instance. Do we have similar things in activiti also?
"

martin_grofcik
Confirmed Champ
Confirmed Champ
Hello Kanchan.

I got in touch with jBPM5.X so little that I do not know.

Regards

kanchan
Champ in-the-making
Champ in-the-making
Hi Martin,

So in Activiti how sessions are created and managed ? What are different session management strategies ? does engine support multiple sessions ? How is process synchronization handled in a session?
I couldn't fine much information on sessions in Activiti, so thought to ask here itself.

Thanks in advance,
Kanchan

jbarrez
Star Contributor
Star Contributor
The reason is simple: we don't use session.

Activiti is 100% stateless and as such using sessions goes against that principle.