cancel
Showing results for 
Search instead for 
Did you mean: 

Meta Data store in Activiti BPMN XML

chandanmb1
Champ on-the-rise
Champ on-the-rise
Hello,

Assume i have a workflow

Start  -> JiraService(UserTask1)–>…->n—>End

For JiraService, user provides some inputs like version of jira and url.
   1. Can i store it as metadata in the BPMN XML by parsing it using Java? If yes, How to do it, any testcase example ?
   2. When i start the Activiti Process using runtimeService, will i able to get that metadata so that i can put in a processVariables Map.
       How to pick it from BPMN XML?
  

      ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("xyz", processVariables);
  


Thanks.
Please help!!!



1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ