Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

[REFACTOR] Use the new bv-experimental-add-ons API using "name" parameters #14

@tbouffard

Description

@tbouffard

Currently, the demo uses custom code to get elements by name, then the retrieved ids are passed to the API of bpmn-visualization.

We could use the API provided by bv-experimental-add-ons that directly use names as parameters:

Done at least in:

  • export function getBpmnActivityElementbyName(activityName){
    if(globals.bpmnActivityElements){
    return globals.bpmnActivityElements.find((elt) => elt.bpmnSemantic.name === activityName);
    }
    return null
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions