Description of problem: IllegalArgumentException is thrown by parser when 'Unspecified' or 'Mixed' gateway directions are used in process definition file (see example file). Version-Release number of selected component (if applicable): BRMS 5.3.0 dev5 How reproducible: Always Steps to Reproduce: 1. Try to create knowledge base from attached bpmn file. Actual results: java.lang.IllegalArgumentException: Unknown gateway direction: Mixed Expected results: No exception, knowledge base is created.
Created attachment 536385 [details] BPMN file that contains 'Unspecified' and 'Mixed' gateway directions.
Created attachment 536396 [details] Stacktrace
Correct, gateways with gateway direction Mixed or Unspecified or no gatewayDirection attribute specified, cannot be parsed correctly, as these gateway types are currently not (yet) supported by jBPM (hence the error message). While we might add support for these in the editor(s) in the future, I would not recommend adding support for this in the runtime parser for this release.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: IllegalArgumentException is thrown by parser when 'Unspecified' or 'Mixed' gateway directions are used in process definition file.