10-14-2010 10:56 AM
Index: modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/parser/BpmnParse.java
===================================================================
— modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/parser/BpmnParse.java (revision 977)
+++ modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/parser/BpmnParse.java (working copy)
@@ -342,7 +342,19 @@
public void parseProcessDefinitions(Element definitionsElement) {
// TODO: parse specific definitions signalData (id, imports, etc)
for (Element processElement : definitionsElement.elements("process")) {
- processDefinitions.add(parseProcess(processElement));
+ boolean processProcess = true;
+ String isExecutableStr = processElement.attribute("isExecutable");
+ if (isExecutableStr != null) {
+ boolean isExecutable = Boolean.parseBoolean(isExecutableStr);
+ if (!isExecutable) {
+ processProcess = false;
+ }
+ }
+
+ //Only process executable processes
+ if (processProcess) {
+ processDefinitions.add(parseProcess(processElement));
+ }
}
}
10-15-2010 12:24 AM
10-15-2010 04:51 AM
10-15-2010 05:36 AM
<xsd:attribute name="isExecutable" type="xsd:boolean"/>
10-15-2010 06:14 AM
is process/@isExecutable a BPMN attribute? if yes, then create a jira issue for it.
02-26-2012 09:04 AM
02-27-2012 12:30 AM
02-27-2012 05:20 AM
02-27-2012 06:43 AM
02-27-2012 07:48 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.