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)