Skip to content

camunda/example-data-properties-provider

Repository files navigation

@camunda/example-data-properties-provider

A variable provider that extracts variables from a zeebe:Property element. This Module includes a variable provider and a properties panel extension.

Usage

Include it in your bpmn-js Project. Note that this module requires bpmn-js-properties-panel to be included as well.

import BpmnModeler from 'bpmn-js/lib/Modeler';
import {
  BpmnPropertiesPanelModule,
  BpmnPropertiesProviderModule,
} from 'bpmn-js-properties-panel';

import ExampleDataProvider from '@camunda/example-data-properties-provider';

const modeler = new BpmnModeler({
  container: '#canvas',
  propertiesPanel: {
    parent: '#properties'
  },
  additionalModules: [
    BpmnPropertiesPanelModule,
    BpmnPropertiesProviderModule,
    ExampleDataProvider 
  ]
});

Build and Run

Clone the Project, then run

npm install
npm start

License

MIT

About

Add output variables through examples,

Resources

License

Code of conduct

Stars

Watchers

Forks