How to use the bpmn-elements.Definition function in bpmn-elements

To help you get started, we’ve selected a few bpmn-elements 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 paed01 / bpmn-engine / index.js View on Github external
function loadDefinition(serializedContext, executeOptions) {
    const context = elements.Context(serializedContext, environment.clone({
      listener: environment.options.listener,
      ...executeOptions,
      source: serializedContext,
    }));

    return elements.Definition(context);
  }

bpmn-elements

Executable workflow elements based on BPMN 2.0

MIT
Latest version published 2 months ago

Package Health Score

68 / 100
Full package analysis