DEV Community

Cover image for Process Analytics - January 2022 News
Thomas Bouffard for Process Analytics

Posted on • Originally published at Medium

Process Analytics - January 2022 News

Welcome to the Process Analytics monthly news πŸ‘‹.

As you know, the goal of the Process Analytics project is to rapidly display meaningful Process Analytics components in your web pages using BPMN 2.0 notation and Open Source libraries.

2021 is over πŸ₯Ί. Welcome 2022! πŸ₯³ πŸŽ‰ On our side, the project team worked hard to prepare the 2022 Roadmap that will be detailed in the next 2022 news.

β˜ƒοΈ We also worked on improving the BPMN Visualization (JavaScript/TypeScript) library. Let’s see what’s new here πŸ‘€!

BPMN Visualization JS/TS library

In January, we released 2 versions πŸ“£: 0.21.2 & 0.21.3.

The library now generates a clearer error message when it is unable to parse the BPMN source ✨.

In previous releases, passing malformed content caused the 'load' function to throw an Error with an 'r is undefined' message 😱. It now handles the error correctly and returns a proper error message πŸ’ͺ.

In addition, a window alert was opened on load error. It should have been included only in the demo code and the examples 🀫, but not in the library code. This is now fixed and you can now fully control how you want to display errors in your application πŸ€—.

⏩ The "load remote BPMN diagrams" example has been updated to display load errors in a toast, as it already did for BPMN diagram fetch status. The recording below πŸ‘‡ shows the new error management in action and the fixed BPMN load error message as well.

Display load errors in a custom application
Display load errors in a custom application

Plans for the future

Here are the topics we will be addressing in the coming months:

  • Continue styling improvements for CSS usage and introduce an API to apply styles to specific BPMN elements πŸ¦„.
  • Create new examples to demonstrate other process analytics / process mining use cases 🀩.

That’s All Folks!

We hope you enjoyed this January project news and are looking forward to what February will bring πŸ‘‹.

In the meantime, to stay on top of the latest news and releases, follow us through:

Cover photo by Benjamin LECOMTE on Unsplash

Top comments (0)