AnsweredAssumed Answered

Programmatically create UserTasks with form elements

Question asked by rantanohneplan on Nov 23, 2014
Latest reply on Nov 23, 2014 by trademak
Hello everybody,

I wonder if it is possible to create a UserTask and extend it with some form elements. The first part works just fine. I created a UserTask with the TaskService and added an attachment. The task can be seen and completed in activiti-explorer. Now, I want the specific user to be able to provide some additional data before completing the task. A form would be ideal for this job.

I already figured out that you can receive the FormProperties via the FormService's getTaskFormData. But it seems that you cannot add new FormProperties to the list. Is there another way to programmatically create a form that can be used in a UserTask?