camunda / camunda-bpmn-moddle

Camunda moddle extensions for BPMN 2.0
MIT License
63 stars 39 forks source link

Implement camunda:jobPriority #11

Closed nikku closed 8 years ago

ThorbenLindhauer commented 8 years ago

You can have the job priority attribute also on events and gateways. Basically anywhere where you can set camunda:asyncBefore and asyncAfter.

Engine test suite example: https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-engine/src/test/resources/org/camunda/bpm/integrationtest/jobexecutor/JobPrioritizationTest.intermediateMessage.bpmn20.xml

ThorbenLindhauer commented 8 years ago

And the attribute type should be String since it can also hold expressions.

nikku commented 8 years ago

Great catch. Fixed and released as v0.2.1.

ThorbenLindhauer commented 8 years ago

Thank you :)