10-14-2010 01:56 PM
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 03:24 AM
10-15-2010 07:51 AM
10-15-2010 08:36 AM
<xsd:attribute name="isExecutable" type="xsd:boolean"/>
10-15-2010 09:14 AM
is process/@isExecutable a BPMN attribute? if yes, then create a jira issue for it.
02-26-2012 12:04 PM
02-27-2012 03:30 AM
02-27-2012 08:20 AM
02-27-2012 09:43 AM
02-27-2012 10: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.