camunda / bpmnlint-plugin-camunda-compat

A bpmnlint plug-in for Camunda BPMN compatibility.
MIT License
0 stars 2 forks source link

False error on lint <bpmn:serviceTask> and <bpmn:callActivity> #66

Open VDmdm opened 1 year ago

VDmdm commented 1 year ago

Hi! I try to use youre plugin with bpmnlint, for validate my bpmn xml files. I run "npm install bpmnlint-plugin-camunda-compat@0.15.2" I am exporting xml from camunda modeler desktop, writing for 8.0.0. My .bpmnlintrc file:

{
  "extends": [
    "bpmnlint:recommended",
    "plugin:camunda-compat/camunda-cloud-8-0"
  ],
  "rules": {
    "label-required": "off"
  }
}

After i run: bpmnlint file_name.bpmn, i get:

Activity_0xo3d6b error Element of type must have one extension element of type calculate action [product action calculator] Activity_0vdvlk5 error Element of type must have one extension element of type calculate action [product action calculator] Activity_0oq172q error Element of type must have one extension element of type calculate action [product action calculator] Activity_1w1cci3 error Element of type must have one extension element of type fulfill product action

But all types include in file, for example:

: ```xml Flow_0c05f1n Flow_0krmk5r ``` : ```xml ``` What i do wrong? I run on node 18, macOs 12.1 (Monterey)
nikku commented 1 year ago

You are running into https://github.com/bpmn-io/bpmnlint/issues/8.

Essentially stock bpmnlint is not aware of the Camunda moddle changes that are used to check the rules against. We'd need to fix this before this gets usable on the Commandline.