How to add Custom Service Class in bpmn-js-properties-panel in Angular 13?

Hi,

Previously I was using Angular 11 and propertiesProvider was implementing fine using a class service but when I update my Angular version to 13, it stops working and it was throwing error that No property provider found for all my custom services like “originalPaletteProvider”, “paletteProvider” and “propertiesProvider”. I had tried many ways but It didn’t work. When I remove my custom classes then BPMN starts working. But it is important for my project to use custom providers.

Please help me in this.

Thanks in Advance

Please share a running / prototypical example that clearly shows what you’re trying to achieve, what is working and what is not.

Use our existing starter projects to quickly hack it or share your existing, partial solution on GitHub or via a CodeSandbox. Provide the necessary pointers that allow us to quickly understand where you got stuck.

This way we may be able to help you in a constructive manner.

Thanks :heart: