2016-07-26 46 views
1

我嘗試創建一個BPMN流程,其中基於任務中的數據,流出用戶任務的流是有條件的。建模器(我試過1.1.1,1.2.0,1.2.1和1.2.2)給出了這樣的BPMN片段:condition部署到Camunda時順序上的表達式不起作用

​​

我建立我自己的dropwizard服務,使用camunda版本7.5.0(也試過7.4.0和7.3.0)。當進程引擎處理bpmn時,會引發異常:

Exception in thread "main" org.camunda.bpm.engine.ProcessEngineException: ENGINE-08043 Exception while performing 'Deployment of Process Application Camunda Servlet Process Application' => 'Deployment of process archive 'null': ENGINE-09005 Could not parse BPMN process. Errors: 
* Invalid type, only tFormalExpression is currently supported | bicycles.bpmn | line 22 | column 67 

咦?類型是tFormalExpression。另外,定時器中的tFormalExpression確實有效。 這裏有什麼問題? 我也得到了同樣的錯誤來自異或網關的sequenceFlows。

回答

2

這是由於引擎運行在Dropwizard中引起的。顯然dropwizard帶來另一個比Camunda通常使用的XML解析器。解析XML時,BPMN中的名稱空間標記無法識別(實際上它們都不是)。 我已經在Parser類上創建了一個修復程序來完成此工作。

+0

你好,請你分享一個鏈接到解析器類的修復?我遇到了同樣的問題 –

相關問題