cancel
Showing results for 
Search instead for 
Did you mean: 

service-task could be executed asynchronously?

lxjchengcu
Champ in-the-making
Champ in-the-making
I have run some test cases to try to look into Activiti, based on the test results, I found that service task could not be set to be executed asynchronously, is it true? I list part of the process definition here:

<process id="springTransactionTest">
      <startEvent id="start" name="start"/>   
      <sequenceFlow id="sequenceflow1" sourceRef="start" targetRef="simple" />
      <serviceTask id="simple"
                    name="Java service invocation"
                    activiti:class="org.activitiinaction.TestBean">         
       </serviceTask>

I want to know the service task could be executed by job executor? I am eager to find out such feature in Activiti like what Tom has done it in jBPM 4.4, now I am working on a 'redo' feature for our business, i.e. users could have rights to let process instance restarts from specified service task, I have implemented such kind of 'redo' feature in jBPM 4.4, but our client does not want to use jBPM again, so they hope we could switch business to Activiti 5.2, it seems the source code and the APIs of Activiti 5.2 is like jBPM 4.4, but I reviewed the source code, I did not find job executor has similar functionalities like jBPM 4.4, what can I do? I can show you my changes on jBPM 4.4, but I guess you should understand what I want, I really want to get help from you, it could be implemented in Activiti 5.3? or when?
2 REPLIES 2

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Please have a look at the roadmap (and/or use search fnctionality on the forum, google or whatever)

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
One of the reasons it is not there yet is that it is not in the spec, but something similar can be achieved by using the send and receive task