Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 937 Bytes

DataFlowChecker.md

File metadata and controls

33 lines (26 loc) · 937 Bytes
title parent
Data Flow Checker
Available Checkers

Data Flow Checker

The Data Flow Checker evaluates DFVL rules and generates issues for rule violations. See the documentation of the DataFlowValidationLanguage on how to define data flow rules rules.

Assumptions

  • The BPMN-models have to be in the classpath at build time

Configuration

The rule should be configured as follows:

<rule>
  <name>DataFlowChecker</name>
  <state>true</state>
</rule>

Additionally, data flow rules need to be defined and set that are evaluated by the checker.

Collection<DataFlowRule> rules = Arrays.asList(...);
ProcessApplicationValidator.setDataFlowRules(rules);
Collection<CheckerIssue> issues = ProcessApplicationValidator.findModelErrors();

Error messages

Error messages are dynamically created based on the user-defined rule.