cancel
Showing results for 
Search instead for 
Did you mean: 

Open Activiti user tasks using vaadin forms

kleyo
Champ in-the-making
Champ in-the-making
Hi All, am new to activiti i just started using activity from past 1 week. Am  comfortable in designing the process flow deploying it in activiti explorer.

I want to create forms for user tasks in vaadin and use the activiti api's to open the forms.
i have gone through few examples, but it was too complex. So can any one suggest me the usage of activiti api's for starting a process,
open the task (forms created in vaadin)  based in the user id  etc..

thanks in advance,
kleyo
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Hi,

I've written quite a lot about it in my Activiti in Action book (see link below).
In addition, the user guide should also give some good starting material.

Best regards,

kleyo
Champ in-the-making
Champ in-the-making
hi Tijs thank u very much for the reply i went through the user guide and i could proceed to some extent.

am struck at one point and it would be helpful if you can provide any ideas on the same.
I have successfully submitted the user form and the variable data is stored in act_hi_details table successfully.
am not able to retrieve the history data from the act_hi_details table.
As per user guide the query is
"historyService.createHistoricDetailQuery()
  .variableUpdates()
  .processInstanceId("123")
  .orderByVariableName().asc()
  .list()" which returns List<HistoricDetail>, but am not able to extract form data i.e, variable name and value from the history details.


thanks,
kleyo