How to use the bpmn-js-properties-panel/lib/helper/EventDefinitionHelper.getErrorEventDefinition function in bpmn-js-properties-panel

To help you get started, we’ve selected a few bpmn-js-properties-panel examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zeebe-io / zeebe-modeler / client / src / app / tabs / bpmn / custom / properties-provider / __tests__ / ErrorSpec.js View on Github external
beforeEach(inject(function(elementRegistry, selection) {

          let item = elementRegistry.get('BoundaryErrorEvent');
          selection.select(item);

          let businessObject = item.businessObject;
          errorEventDefinition = eventDefinitionHelper.getErrorEventDefinition(businessObject);

          field = getInputField(container, 'camunda-error-element-name', 'name');

          triggerValue(field, 'FOO', 'change');

        }));
github zeebe-io / zeebe-modeler / client / src / app / tabs / bpmn / custom / properties-provider / __tests__ / ErrorSpec.js View on Github external
beforeEach(inject(function(elementRegistry, propertiesPanel, selection) {

        container = propertiesPanel._container;

        let shape = elementRegistry.get('StartErrorEvent');
        selection.select(shape);

        let bo = getBusinessObject(shape);
        errorEventDefinition = eventDefinitionHelper.getErrorEventDefinition(bo);

      }));
github zeebe-io / zeebe-modeler / client / src / app / tabs / bpmn / custom / properties-provider / __tests__ / ErrorSpec.js View on Github external
beforeEach(inject(function(elementRegistry, propertiesPanel, selection) {

        container = propertiesPanel._container;

        let shape = elementRegistry.get('StartErrorEvent');
        selection.select(shape);

        let businessObject = getBusinessObject(shape);
        errorEventDefinition = eventDefinitionHelper.getErrorEventDefinition(businessObject);

      }));
github zeebe-io / zeebe-modeler / client / src / app / tabs / bpmn / custom / properties-provider / parts / ErrorProps.js View on Github external
export default function(group, element, bpmnFactory, translate) {

  const errorEventDefinition = eventDefinitionHelper.getErrorEventDefinition(element);

  if (errorEventDefinition) {
    error(group, element, bpmnFactory, errorEventDefinition, translate);
  }

}

bpmn-js-properties-panel

A simple properties panel for bpmn-js

MIT
Latest version published 7 days ago

Package Health Score

90 / 100
Full package analysis