AnsweredAssumed Answered

Meta Data store in Activiti BPMN XML

Question asked by chandanmb1 on Jun 30, 2016
Latest reply on Jun 30, 2016 by martin.grofcik

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);

Please help!!!