Activiti validation
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2013 11:48 PM
Hi
Does Activiti engine have some validation methods for bpmn model (BpmnModel class, BPMN 2.0 xml-parsing and others)?
Checkup flows directions and objects/process settings (tasks, gateways etc).
Does Activiti engine have some validation methods for bpmn model (BpmnModel class, BPMN 2.0 xml-parsing and others)?
Checkup flows directions and objects/process settings (tasks, gateways etc).
Labels:
- Labels:
-
Archive
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2013 03:08 AM
Yes: the bpmn xml is checked against the BPMN 2.0 xsd for obvious xml errors and then there is validation on sequenceflow reaching a correct target, correct boundary event connections, etc.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2013 04:43 AM
You could use the BpmnXmlConverter class. It has a validate method.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2013 04:47 AM
All validation is in the BPMNParse, obtained from a BPMNParser. If you can get hold of the BPMNDeployer(), you can get the BPMNParser and request this to parse. After parsing, all "problems" are exposed on the BPMNModel that rolls out of it.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2016 11:10 AM
Hi,
how can I call validation from BpmnParse? I have an xml file I want to validate
how can I call validation from BpmnParse? I have an xml file I want to validate
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2016 08:18 AM
processEngineConfiguration.getProcessValidator().validate(bpmnModel)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2016 10:40 AM
Hi. I think i have related question. What if i want to validate certian FlowElement. If somebody changes FlowElement properties from UI i want to validate only this FlowElement. As i understand we can validate only entire BpmnModel. What can i do in my case?
