get the variables and the value of the variables in a form defined on process

How I can get the variables and the value of the variables that are in form but as an activity that are defined in the process with de API Java

Hi,

Did you read the documentation of the API ? Here is the link of what you’re looking for :

http://documentation.bonitasoft.com/javadoc/api/6.3/org/bonitasoft/engine/api/ProcessRuntimeAPI.html#getProcessDataInstances(long, int, int)

thanks for your answer, I think I did wrong question, I need to know is how to bring the “definition” of a form in a task, the variables are defined in the process but as I get the variables associated with a task

thanks for your answer, I think I did wrong question, I need to know is how to bring the “definition” of a form in a task, the variables are defined in the process but as I get the variables associated with a task

You want to use variables defined in an activity/task ?

They’re only accessible on the task and the next flow. You can use them like process variable in a groovy script.