cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically launching the user's next task

pauljeba
Champ in-the-making
Champ in-the-making
I am using Acitivi for a big size implementation and came across a need, where the same user needs to complete multiple tasks in sequence. How can the successive task's forms be opened automatically after the completion of the first form in activiti?

Basically I am looking for this feature that is present in IBM BPM - http://pic.dhe.ibm.com/infocenter/dmndhelp/v8r0m1/index.jsp?topic=%2Fcom.ibm.wbpm.wle.editor.doc%2Fm...

Please guide

- Paul
3 REPLIES 3

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Paul,

Try to query for task assigned to the current user from the same process instance as the already completed task. After that you can automatically open it.

Regards
Martin

pauljeba
Champ in-the-making
Champ in-the-making
Martin thanks for the answer. Glad to know there is a solution. But, i dint exctly understand your answer. What should the query surround? How will the query invoke the next task?

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Paul.

(May be I did not understand your question.) I am sure there is a solution (we have implemented it in our products).
From my point of view there are several possibilities (e.g.:
1. task is completed -> request to the server to complete task
2. get next task -> request to the server (query for next user task) and as a response you can get next task form- depends on your form technology.
3. frontend can parse new user task form and display it.
)
Regards
Martin