AnsweredAssumed Answered

How to Run a process contentiously with 'N' number of requests ?

Question asked by pavitra on Jun 8, 2016
Latest reply on Jun 17, 2016 by pavitra
Hi,
I am using activiti , I want to run my process contentiously, without intervention. I simulated the problem in sample. I am attaching this sample please change the database properties to work. My sample must work for contentiously for 'N' number of requests. I simulated by running 200 times in the sample, some step in the process have to perform some calculation which takes long time. so it should not stuck in middle.I made my process async to log the every step.In the sample it gets hanging for the 119 count.Please help me out to resolve this. I have done the 'asyncExecutor' configuration to consume one step at a time.I did this configuration to process one step after the other step in the synchronous way.Though I made my process as async can I able to process the step one after the other. Because one step data is dependent on next step so.
plz find the zip file attached in Github https://github.com/Activiti/activiti-unit-test-template/files/302768/simple-activiti.zip

Outcomes