getProcessVariables - extracts all variables which can be found inside a root element (e.g. a bpmn:Process)
getVariablesForScope - retrieves all variables available inside a given scope (also parent scope variables)
Note that this is independent from diagram-js, so it will only work with moddle elements/business objects.
Note that some utils from other projects were used and modified for the purpose of this library (e.g. the InputOutputHelper from bpmn-js-properties-panel). The goal is to not have dependencies to other projects, that's why they were copied and re-written.
Which issue does this PR address?
Related to bpmn-io/bpmn-js-properties-panel#342
Acceptance Criteria
[ ] Corresponds to the concept (bpmn-io/bpmn-js-properties-panel#342)
This offers two API methods
getProcessVariables
- extracts all variables which can be found inside a root element (e.g. abpmn:Process
)getVariablesForScope
- retrieves all variables available inside a given scope (also parent scope variables)Note that this is independent from
diagram-js
, so it will only work with moddle elements/business objects. Note that some utils from other projects were used and modified for the purpose of this library (e.g. theInputOutputHelper
frombpmn-js-properties-panel
). The goal is to not have dependencies to other projects, that's why they were copied and re-written.Which issue does this PR address?
Related to bpmn-io/bpmn-js-properties-panel#342
Acceptance Criteria
Corresponds to the designDefinition of Done