cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti + JSF2 User Interface

bathe
Champ in-the-making
Champ in-the-making
Hi

I am using JSF and Spring framework to develop web application.
Activiti is used to manage Business process which includes workflows.

I have developed workflow which consist of User tasks as well as Java Service tasks.
  [IMG]http://img204.imagevenue.com/loc152/th_335136624_AanProposal_122_152lo.jpg[/IMG]

Please see attached BPMN file for details.

Application displays inbox which contains list of pending tasks assigned to specific user.
User tasks with Approval, I am calling

      taskService.claim(selectedTask.getId(), userId);
      taskService.complete(selectedTask.getId());

In case of Loan Sanction, if Application is expecting user input, I have used form Key to display custom JSF page
by passing record Id (ProposalId). 

Now I am not sure how to complete this task so that workflow will move to next step.
2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Could you attach log messages?
Did you try to debug taskService.complete method?
(According to jUnit tests it should work.)

Martin

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

Thanks for your timely help.  As per your suggestion I  have used taskService.complete  and is working as expected. Actually I was referring to book-cdi-app as sample and unnecessary thinking for different solution with using something similar to businessProcess object.

Thanks Again.