cancel
Showing results for 
Search instead for 
Did you mean: 

Solution for dynamic form

srouil
Champ in-the-making
Champ in-the-making
Hi,

I am playing a little bit with Activiti to evaluate a BPM engine for a future project.
So far, I found configuring and embedding the engine with Spring very simple. I found my well in the API as well.

However, I am still unsure about the right way to use forms:
For now I have:
1. Static forms which, when submitted, will call TaskService.complete(String taskId, Map<String,Object> variables) to complete user task and eventually set some process variables. I use FormData.formkey to retrieve the right form to display.
2. Dynamic forms: I set FormData.formkey to an arbitrary value of "generic" to open a generic form. This generic form uses the information of FormData.getFormProperties() to build a generic form, like it is probably done in Activiti Explorer. It calls FormService submitTaskFormData(String taskId, Map<String,String> properties) to complete user task.

My application has some requirements for supporting the definition of dynamic forms (forms that require no new deployment of the application) that go a step further that my generic form or the Activiti Explorer. Do you have some hints, or experiences about this? My web environment is JSF or GWT.

Thanks in advance for your help,
Best regards,
Samuel
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi,

You may want to look at the Activiti CDI module (in trunk or the coming 5.8 release).
This module provides very nice capabilities to create a dynamic form application / process application.
You can look at one of the articles published by Daniel Meyer of Camunda, that you can find at the main Activiti page.

Best regards,