Access form variables with java

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
fabiangambetta
Member II

Access form variables with java

Hi, I'm new to activiti,

I am creating a process and I want the execution of a task with java code to obtain the variables of a form and store it in an external database.Someone could give me an example of how to read the variables, I should use an eventlistener, tasklistener?

thanks

1 Reply
gdharley
Intermediate

Re: Access form variables with java

Form variables will automatically be stored as process variables on submission of the form, this is true for community and enterprise edition.

Therefore, you can use a simple service task to call your persistence class.

Cheers,

Greg