cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the results from Activiti Engine 6.0.0 beta2

bond007
Champ in-the-making
Champ in-the-making
Hi

I'm trying to execute the buzzword example in the acitiviti 6 engine.I'm able to get the run the XML

ProcessDefinition processDefinition = repositoryService
                        .createProcessDefinitionQuery()
                        .deploymentId(_deploymentId).singleResult();

                processInstance = runtimeService.startProcessInstanceById(processDefinition.getId(),executionVariable);
 


by passing the  BPMN XML.

How to fetch or return the result. Which API should i follow. Any code change needed. I've attached the code

Please help.



3 REPLIES 3

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi bond007,

What exactly do you want to fetch? (variable value? -> RuntimeService)

Regards
Martin

bond007
Champ in-the-making
Champ in-the-making
Hi

Yes. I want to run a flow and fetch the variable value. What service should i use

jbarrez
Star Contributor
Star Contributor
runtimeService.getVariable (and similar methods)