12-05-2011 03:06 PM
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
<process id="MyFirstProcess" name="MyFirstProcess">
<documentation>This is the text i like to get</documentation>
…
12-06-2011 01:57 PM
12-08-2011 08:39 AM
09-12-2012 11:21 AM
@Rule
public ActivitiRule activitiRule = new ActivitiRule();
@Test
@Deployment(resources = { "diagrams/MyProcess.bpmn" })
public void descriptionTest() {
RuntimeService runtimeService = activitiRule.getRuntimeService();
runtimeService.startProcessInstanceByKey("MyProcess");
ProcessDefinition r = activitiRule
.getRepositoryService().createProcessDefinitionQuery().list()
.get(0);
assertNotNull(r.getDescription()); // Always fails
}
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlnsmgdc="http://www.omg.org/spec/DD/20100524/DC" xmlnsmgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.ultrasoft.ch/">
<process id="MyProcess" name="MyName">
<documentation>My Documentation</documentation>
<!– and so on… –>
09-13-2012 09:54 AM
09-17-2012 10:37 AM
Could you attach your unit test + process to that jira issue and reopen it?
09-17-2012 11:43 AM
09-25-2012 06:01 AM
09-26-2012 04:07 AM
09-26-2012 05:07 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.