Hi, I am new to activiti. I have a situation where I need to send mail to specific user group when they receive some task. So, how do I get Candidate Group info assigned to user task.
Hi, The BPMN model contains multiple flow elements. (because this model is describing an execution flow) each flow element could be an UserTask, ServiceTask or something else…
Just design a simple process in the editor and export it as XML, then have a look into that file and you'll understand better. also maybe this documentation will help you. http://www.activiti.org/userguide/#bpmn20
you could obtain the BPMN model like that: <java> BpmnModel model = repositoryService.getBpmnModel(processDefinitionId); </java> and then just put a breakpoint on this line and inspect this object.