cancel
Showing results for 
Search instead for 
Did you mean: 

starting the same process immediately once the task is complete

nirvana
Champ in-the-making
Champ in-the-making

Hi,

How can I start the same service immediately once the user task is complete.

I do not want to start process from UI(activiti-explorer), I Ishould control it from the JavaDelegate.

can anyone take me to this approch ? Or do we have any service that runs in a cyclic way with some criteria ?

Thanks in advance.

Regards,
Nirvana

2 REPLIES 2

nirvana
Champ in-the-making
Champ in-the-making
Also,
1. can we check the status of the task ?
2. Do we have anything from the code to know , if the task is complete ? (like.. runtimeService.isTaskCompleted)

Regards,
Nirvana

jbarrez
Star Contributor
Star Contributor
- Simply use the runtimeService and start the process. The Javadelegate has a method to retrieve the services.

- What do you mean with 'status'

- if the task is completed, it will be gone. Only will be found in the history.