for all I know it was possible in JPBM 4.4 to access process variables (executionService.getVariable(processId, variableName)) within my JEE app.
Unfortunately, JBPM 5.1 removed the API to access process variables and it seems to be a big issue for me.
The documantation is also not covering this scenario (except the script usage). Any suggestion how to access process variable through the api?
Did you try the following?
See the discussion
Retrieving data ...